Changing file permissions


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 {} \;

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.