Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CHMOD files resursively
- $ chmod -R 777 2bdeleted/*
- # delete files
- $ rm -rf 2bdeleted
- # This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
- find . -type d -exec chmod 755 {} ;
- # Similarly, the following will chmod all files only (and ignore the directories):
- find . -type f -exec chmod 644 {} ;
Advertisement
Add Comment
Please, Sign In to add comment