Favorite find Commands

Bangkok, Thailand, 2007-11-14

#sysadmin

I’m always ducking into the man page for find - the syntax never seems to stick for me, so this my online MRU list of find commands:

Recursive chmod on directories only find . -type d -exec chmod 750 {} \;
Recursive chmod on files only find . -type f -exec chmod 640 {} \;