xoder (
xoder
) wrote
2004
-
02
-
26
11:12 pm
RE:
just used Perl to complete a mirror that wget fucked up that will make my life easier. How do you kill top level +keep contents?
---FORWARDED---
Flat
|
Top-Level Comments Only
no subject
codepoet.livejournal.com
2004-02-28 07:26 am (UTC)
(
link
)
...how do you *what*?
Char limits are a bitch..
xoder.livejournal.com
2004-02-28 04:28 pm (UTC)
(
link
)
Nevermind, I figured it out:
mv subdir/* ; rm -rf subdir/
I'm am teh f001
nooooo!
codepoet.livejournal.com
2004-02-28 06:36 pm (UTC)
(
link
)
use rmdir!
Re: nooooo!
xoder.livejournal.com
2004-02-28 10:12 pm (UTC)
(
link
)
why?
Re: nooooo!
codepoet.livejournal.com
2004-02-29 12:10 am (UTC)
(
link
)
Safety, mainly. It'a a Good Idea to avoid using rm -rf unless you Really Need To (to delete a directory with stuff in it)
5 comments
Post a new comment
Flat
|
Top-Level Comments Only
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
Char limits are a bitch..
mv subdir/* ; rm -rf subdir/I'm am teh f001
nooooo!
Re: nooooo!
Re: nooooo!