Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@demo:~# { find "$(pwd)" -type d -print0 | xargs -0 echo chmod 755 ; find "$(pwd)" -type f -print0 | xargs -0 echo chmod 644 ; } | wc -l
- 107
- root@demo:~# { find "$(pwd)" -type d -exec echo chmod 755 {} + ; find "$(pwd)" -type f -exec echo chmod 644 {} + ; } | wc -l
- 107
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement