- Sun 22 December 2019
- Home
- howto
- Michiel Scholten
Unzip a bunch of zips in a oneliner
Ever needed to unzip a bunch of zip files into their own directory and you don’t want to do so one by one? No? Well, here I have a oneliner for you anyway: ls -1 *.zip | while read zf; do echo ${zf::-4}; unzip "$zf" -d "${zf::-4}"; done …