@zwh8800
2017-08-23T02:25:36.000000Z
字数 211
阅读 191229
blog 归档 脚本
把文件夹下的文件夹改为755 文件改为644 适合网站目录
#!/bin/bashif [ $# -lt 1 ]; thenecho "Usage:chauth DirectoryName"exit 1fifor a in $(find $1); doif [ -d "$a" ]; thenchmod 755 $aelsechmod 644 $afidone
用法 ./chauth 文件夹名
把文件夹下的文件夹改为755 文件改为644 适合网站目录
