summaryrefslogtreecommitdiff
path: root/extract_zips.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract_zips.sh')
-rwxr-xr-xextract_zips.sh10
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