?

Log in

No account? Create an account
"Like a graveyard...
... people dig me"
RE:  
26th-Feb-2004 11:12 pm
Eyecon
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---
Comments 
28th-Feb-2004 07:26 am (UTC)
...how do you *what*?
28th-Feb-2004 04:28 pm (UTC) - Char limits are a bitch..
Nevermind, I figured it out:
mv subdir/* ; rm -rf subdir/

I'm am teh f001
28th-Feb-2004 06:36 pm (UTC) - nooooo!
use rmdir!
28th-Feb-2004 10:12 pm (UTC) - Re: nooooo!
why?
29th-Feb-2004 12:10 am (UTC) - Re: nooooo!
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)
This page was loaded Apr 21st 2018, 3:44 am GMT.