How would I change all files to 644 and all folders to 755 using chmod from the linux command prompt? (Terminal)
chmod
linux
One approach could be using find:
find /desired_location -type d -print0 | xargs -0 chmod 0755
find /desired_location -type f -print0 | xargs -0 chmod 0644
2.1m questions
2.1m answers
60 comments
57.0k users