系统相关
首页 > 系统相关> > shell 解压当前目录所有zip文件

shell 解压当前目录所有zip文件

作者:互联网

code

macname@MacdeMacBook-Pro zipfiles % cat test.sh 
#!/bin/bash
ZIP_FILES=$(ls *.zip)

for zip_file in $ZIP_FILES; do
    unzip $zip_file
done
macname@MacdeMacBook-Pro zipfiles % 

 

 

 

 

 

 

 

 

标签:解压,shell,MacdeMacBook,ZIP,macname,file,zipfiles,zip
来源: https://www.cnblogs.com/sea-stream/p/14349613.html