arozwalak
7/19/2015 - 4:56 PM

Linux: chmod only for directories or files

Linux: chmod only for directories or files

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755
find /path/to/base/dir -type f -print0 | xargs -0 chmod 644