bash 实现批量解压当前目录下所有 7z 文件到另一目录

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";

猜你喜欢

转载自blog.csdn.net/u011570312/article/details/128436140
今日推荐