for directories
find /desired_location -type d -print0 | xargs -0 chmod 0755
for files
find /desired_location -type f -print0 | xargs -0 chmod 0644
Created
August 15, 2019 08:52
-
-
Save xiocode/5e7ebc58e94531664c35fe472ba989b9 to your computer and use it in GitHub Desktop.
批量修改文件权限
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment