xoder: (Default)
xoder ([personal profile] xoder) wrote2004-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---

[identity profile] codepoet.livejournal.com 2004-02-28 07:26 am (UTC)(link)
...how do you *what*?

Char limits are a bitch..

[identity profile] 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

Re: nooooo!

[identity profile] 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)