Extract & Remove Zip Linux

Really, works for anything. It’s fucking simple scripting guys.

for line in `ls *.zip`
do
dir=`echo $line | tr -d ".zip"`
mkdir -p $line
unzip -o $line -d $dir/ && rm -f $line
done

This script doesn’t give a fuck about you. So use carefully.

ComputersComments Off on Extract & Remove Zip Linux