How do I unzip multiple zip files in multiple folders

Sfariah DSfariah D Posts: 25,703

How do I unzip multple zip files found in multiple folders but all folders are in the same folder?

basically this is the layout

folder/some number/Files/ *.zip

folder/some other number/Files/*.zip

folder/Yet another random number/Files/*.zip

folder/Hopefully you get the idea/Files/*.zip

Once upon a time there was a software that could do it but it got discontinued.  Is there another way I can do this without going through all the folders?

edit: I forgot to say that it was not four folders but over two hundred. o.0

Post edited by Sfariah D on

Comments

  • 3djake3djake Posts: 8
    edited June 2018

    If you are on a Unix based system such as Mac or Linux you could just do something like the following.

    find /path/to/zips/ -name '*.zip' -exec sh -c 'unzip -d /path/to/location/where/extracted/ {}' ';'

    This will recursively look in all subfolders in "/path/to/zips/" and then extract any zip archives it finds into "path/to/location/where/extracted/"

    I do not do windows but what you will want to use for that is 7zip which is free/open-source and create a bat script. I would not be much help to you with bat scripts as I have not used windows in years but this link may help you in creating one. https://superuser.com/questions/371384/extract-all-zips-in-a-directory-incl-subfolders-with-a-bat-file-or-dos-comm

    Hope this helps. 

    Post edited by 3djake on
Sign In or Register to comment.