4 ms·
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 dang
by XorNot 12y ago
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.