Extract ZIP files to folders with Zip file name

I have 200 zip files in a folder… I need to unzip them to the same folder and the content of each for a respective folder with the name of the zip file.

This is how:

find -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \;

Got it from http://askubuntu.com/questions/518370/extract-several-zip-files-each-in-a-new-folder-with-the-same-name-via-ubuntu-t


Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.