Search This Blog

Find files and set their permissions

find files and pipe them to chmod to set permissions:
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;

No comments:

Post a Comment