Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

files 644 folders 755

find . -type d -exec chmod 0755 {} ; 
find . -type f -exec chmod 0644 {} ;

or

find . -type d -print0 | xargs -0 chmod 755  
find . -type f -print0 | xargs -0 chmod 644 
 
PREVIOUS NEXT
Tagged: #files #folders
ADD COMMENT
Topic
Name
7+3 =