[svlug] How do I recursively chmod 0664 files but not directories?

Daevid Vincent daevid at daevid.com
Thu Jul 14 12:06:38 PDT 2005


I accidentally typed "chmod -R 0775 /mydir", so now all directories AND
files are +x

What magical bash incantation can I type to recursively go through and make
all files 0664 but make directories 0775?





More information about the svlug mailing list