Extract recursively using 7-Zip

7-ziparchivingrecursive

I have several folders, and within each folder, there are ZIP files. I want to run a command line order to recursively go through every folder and extract in place every archived file that it finds, then move on to the next folder. Is this even possible?

Best Answer

If you are using Linux, you can use

find -iname \*.zip -exec unzip {} \;

(after installing unzip)

In Windows, you can use

FOR /F "usebackq" %a in (`DIR /s /b *.zip`) do 7z.exe e %a

Assuming that you have 7z.exe in your PATH. Run that command in folder where you want to (recursively) unzip all zip files.