Apply permission recursivly on file / on folders
So you want to apply permission 644 on all files ? Just do
chmod 644 $(find . -type f)
And to apply permission 755 to all folders do
chmod 755 $(find . -type d)
Written by Thibault Milan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#