Skip to content

Instantly share code, notes, and snippets.

@georgeyord
Created February 11, 2014 09:08
Show Gist options
  • Save georgeyord/8931542 to your computer and use it in GitHub Desktop.
Save georgeyord/8931542 to your computer and use it in GitHub Desktop.
Linux - Find files recursively with incorrect permissions
# Assuming that you want directories to be 755 and ordinary files to be 644
find \! -perm 644 -type f -o \! -perm 755 -type d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment