Found this little nugget. It will change all the files from the current directory and any files in its subdirectories to the chmod value while leaving the chmod value of the directories in tact. Pretty sweet…
find . -type f -exec chmod 644 {} \;
Found this little nugget. It will change all the files from the current directory and any files in its subdirectories to the chmod value while leaving the chmod value of the directories in tact. Pretty sweet…
find . -type f -exec chmod 644 {} \;
This entry was posted on Friday, May 15th, 2009 and is filed under Linux. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^