OLD_IFS="$IFS";
IFS=$'\n';
arr=($(ls | grep 7z));
for s in ${arr[@]} ;
do 7z x -o/path/of/the/output -pPassword $s;
done;
IFS="$OLD_IFS";
bash 实现批量解压当前目录下所有 7z 文件到另一目录
猜你喜欢
转载自blog.csdn.net/u011570312/article/details/128436140
今日推荐
周排行