Skip to content

Instantly share code, notes, and snippets.

@markahesketh
Created October 18, 2013 21:32
Show Gist options
  • Save markahesketh/7048585 to your computer and use it in GitHub Desktop.
Save markahesketh/7048585 to your computer and use it in GitHub Desktop.
chmod 644/755 on OSX
# for files only
find ./ -type f -exec chmod 644 {} +
# for directories only
find ./ -type d -exec chmod 755 {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment