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"' _ {} \;
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"' _ {} \;