Log in

No account? Create an account
"Like a graveyard...
... people dig me"
26th-Feb-2004 11:12 pm
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?
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!
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 Mar 23rd 2019, 12:58 pm GMT.