Skip to content

Instantly share code, notes, and snippets.

@skkzsh
Created November 20, 2013 14:47
Show Gist options
  • Select an option

  • Save skkzsh/7564374 to your computer and use it in GitHub Desktop.

Select an option

Save skkzsh/7564374 to your computer and use it in GitHub Desktop.
chmod all files/directories recursively
# For files
find /some/path -type f -print0 | xargs -0 chmod 644
# For directories
find /some/path -type d -print0 | xargs -0 chmod 755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment