Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

files 666 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 
Comment

PREVIOUS NEXT
Code Example
Shell :: plesk show mailqueue 
Shell :: mjml watch command 
Shell :: chocolatey cmd 
Shell :: edit user data 
Shell :: spacy install italian 
Shell :: bash read full file 
Shell :: share folder from windows to ubuntu oracle VM 
Shell :: pipeline command in linux 
Shell :: change git commit 
Shell :: wp unpublish post cli 
Shell :: mailutils check mail 
Shell :: Installing ruby version manager (rvm) 
Shell :: linux make cpu spike 
Shell :: make a new folder in ps1 file 
Shell :: how to install from a Linux terminal 
Shell :: view recently installed apps linu 
Shell :: how to run bash scripts from local machine to remote linux machine 
Shell :: rmd no output 
Shell :: find largest digit in a number 
Shell :: stop openhab2 service 
Shell :: path folder after generate ssh-keygen 
Shell :: linux move files one directory up 
Shell :: Postgres - FATAL: database files are incompatible with server 
Shell :: install concrete 5 on ec2 instance 
Shell :: update n98-magerun2 
Shell :: To permanently fix this problem, please run: npm ERR! sudo chown -R 1000:1000 
Shell :: view branches not merged with master 
Shell :: grafana for linux download ubuntu 
Shell :: k8s dashboartd 
Shell :: how to avoid some files changes to not come in git status 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =