0 votes
How to change all directories to 755 and files to 644 from terminal?
by (147 points)

1 Answer

0 votes
find /foldername -type d -exec chmod 0755 {} \;
find /foldername -type f -exec chmod 0644 {} \;
by (188 points)
...