I have many zip files (a.zip
, b.zip
, c.zip
, ...) and I want to extract each of them into new folders with the same name as the archive's name (a
, b
, c
, ...) via terminal.
Actually, what I want is a solution that I can use later with a find
, because I actually have many folders (2014
, 2013
, 2012
, ...) each of which containing many zip files (a.zip
, b.zip
, ...).
If I do:
find . -name "*.zip" -exec {} unzip \;
it will unzip all the files and put them into their respective parent folder.