Created
October 14, 2014 03:58
-
-
Save kehr/733f00877f23310e4964 to your computer and use it in GitHub Desktop.
解压当前目录下的所有 zip 文件,以 .zip 前的名称命名。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unzip zip file of current directory | |
for i in `ls` | |
do | |
name=`echo $i | awk -F'.' '{print $1}'` | |
unzip $i -d $name | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment