mltefive / docs

https://mltefive.github.io/docs/
1 stars 0 forks source link

chmod dirs or files recursive #38

Open 7dir opened 4 years ago

7dir commented 4 years ago
find ./ -type d -exec chmod 755 {} +
find ./ -type f -exec chmod 644 {} +

chmod 755 $(find ./ -type d)
chmod 644 $(find ./ -type f)

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