Extract multiple numbered ZIPs

Can anyone help me combine multiple 2GB ZIPs from a Google Play Music Takeout that are numbered like so: takeout-001.zip, takeout-002.zip, etc. Thanks.

iMac Pro

Posted on Feb 2, 2021 3:17 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 2, 2021 5:01 AM

jamespaulley wrote:

No, sorry. I want to extract all of them. They are one 68GB archive that was split in to 2GB ZIPs by Google. The problem is when I extract all the files it creates multiple folders and it's a big mess. I can see that it is supposed to be one folder structure, but I can't get macOS to extract them all to the same folder, or merge the ZIPs to one giant ZIP and then extract that...


See if there is anything here:

https://stackoverflow.com/questions/60842075/combine-the-split-zip-files-downloading-from-google-drive


https://superuser.com/questions/1255221/how-to-unzip-multiple-zip-files-into-a-single-directory-structure-e-g-google-d



mkdir combined From the Terminal.app, copy & paste:


unzip '*.zip' -d combined


You can see more from the man page, copy & paste:

man mkdir | more



alternatively maybe Google Support would offer a way forward.



*Move the set of files you want to unzip to a dedicated directory (folder)

using the change directory command line",, copy and paste:

cd 



note the trailing blank space...

cd [(drag and drop your new folder to the Terminal window to complete the path (to change to that directory)]


4 replies
Question marked as Top-ranking reply

Feb 2, 2021 5:01 AM in response to jamespaulley

jamespaulley wrote:

No, sorry. I want to extract all of them. They are one 68GB archive that was split in to 2GB ZIPs by Google. The problem is when I extract all the files it creates multiple folders and it's a big mess. I can see that it is supposed to be one folder structure, but I can't get macOS to extract them all to the same folder, or merge the ZIPs to one giant ZIP and then extract that...


See if there is anything here:

https://stackoverflow.com/questions/60842075/combine-the-split-zip-files-downloading-from-google-drive


https://superuser.com/questions/1255221/how-to-unzip-multiple-zip-files-into-a-single-directory-structure-e-g-google-d



mkdir combined From the Terminal.app, copy & paste:


unzip '*.zip' -d combined


You can see more from the man page, copy & paste:

man mkdir | more



alternatively maybe Google Support would offer a way forward.



*Move the set of files you want to unzip to a dedicated directory (folder)

using the change directory command line",, copy and paste:

cd 



note the trailing blank space...

cd [(drag and drop your new folder to the Terminal window to complete the path (to change to that directory)]


Feb 2, 2021 5:05 AM in response to jamespaulley

Might as well take advantage of UNIX in the Terminal, and perform the following in the folder containing the split takeout-*.zip files. An assumption is that Google was using zip, and not 7zip or rar in the original zip file. Pay attention to your available space as you will need another 68 GB or so to merge these split zip files, and even more storage to unzip the merged zip file.


cat takeout-*.zip >> merged.zip


You will want to unzip that merged.zip into its own folder.

Feb 2, 2021 3:51 AM in response to leroydouglas

No, sorry. I want to extract all of them. They are one 68GB archive that was split in to 2GB ZIPs by Google. The problem is when I extract all the files it creates multiple folders and it's a big mess. I can see that it is supposed to be one folder structure, but I can't get macOS to extract them all to the same folder, or merge the ZIPs to one giant ZIP and then extract that...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Extract multiple numbered ZIPs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.