diff options
Diffstat (limited to 'extract_zips.sh')
-rwxr-xr-x | extract_zips.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extract_zips.sh b/extract_zips.sh new file mode 100755 index 0000000..bf76d10 --- /dev/null +++ b/extract_zips.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for i in $* ; do + dir=$(basename $i .zip) + mkdir $dir + cd $dir + unzip ../$i + cd .. + rm $i +done |