Linux下批量修改文件夹和文件权限脚本,示例:
把当前目录下及子目录的属性改成755
find . -type d -exec chmod 775 {} +
把当前目录及子目录中的文件属性改成644
find . -type f -exec chmod 664 {} +