1 2 3 4 5 6 7 8 9 10
#!/bin/bash for i in $* ; do dir=$(basename $i .zip) mkdir $dir cd $dir unzip ../$i cd .. rm $i done