Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Recursively find all files in the current directory and change to access of 644 and for directories to 755
# Recursively find all files in the current directory and change to access of 644
find ./ -type f -exec chmod 644 {} \;
# Recursively find all directories in the current directory and change to access of 755
find ./ -type d -exec chmod 755 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment