Re:Suicide Linux (2011)
by XorNot on Sunday April 19, 2015 @12:23AM
(#9402028)
Lately I've been advising people to use find -delete rather them rm.
Ever tried to clear the current directory with rm? It's actually amazingly tricky and dangerous to wipe out dot files without moving up directories. Whereas find has the benefit of saying exactly what it'll do before it does it (and being a bit faster IMO).
The thing I'm really missing in find is a native -chown and -chmod flag now.
Ever tried to clear the current directory with rm? It's actually amazingly tricky and dangerous to wipe out dot files without moving up directories. Whereas find has the benefit of saying exactly what it'll do before it does it (and being a bit faster IMO).
The thing I'm really missing in find is a native -chown and -chmod flag now.