Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

files to 644 folder to 775

find . -type d -print0 | xargs -0 chmod 755  
find . -type f -print0 | xargs -0 chmod 644

or 

find . -type d -exec chmod 0755 {} ; 
find . -type f -exec chmod 0644 {} ; 
Source by tecadmin.net #
 
PREVIOUS NEXT
Tagged: #files #folder
ADD COMMENT
Topic
Name
2+4 =