-
-
Save deenjohn/70e41b84a50c2a7615fdc84575ff1f8e to your computer and use it in GitHub Desktop.
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
function unzipAll() | |
{ | |
for file in `ls | /bin/grep zip`; do | |
local base_name="${file%.*}" | |
rm -rf $base_name | |
mkdir $base_name | |
unzip $file -d $base_name | |
rm $file | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment