rmdir when directory is not empty

Mike McCarty mike.mccarty at sbcglobal.net
Thu Dec 22 19:34:27 UTC 2005


John Pierce wrote:
>>That won't work on directories that have tens of thousands of files.
>>--
>>WC -Sx- Jones | http://ccsh.us/ | Open Source Consulting
>>
> 
> If you really think it won't just do an rm -rf / as root and see if
> tens of thousands of files just won't vanish before your very eyes.

I posted an e-mail showing where I created more than 10000 files in
one directory, and another directory below that with one file in it,
and

$ rm -f /path/to/directory

got it all on an FC2 machine.

So, I think this particular argument should be laid to rest.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list