Skip to content

Instantly share code, notes, and snippets.

@jvanja
Created October 30, 2015 08:45
Show Gist options
  • Save jvanja/826a55fa27bae0aa30d1 to your computer and use it in GitHub Desktop.
Save jvanja/826a55fa27bae0aa30d1 to your computer and use it in GitHub Desktop.
Unix FIND all files that do not have 755 permision and CHMOD 755 on them
find . -not -perm 755 -type f -exec chmod 755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment