Skip to content

Instantly share code, notes, and snippets.

@gauravbarthwal
Last active October 14, 2024 17:40
Show Gist options
  • Save gauravbarthwal/3fc0b44934ce78a97fd4e99322d2ed62 to your computer and use it in GitHub Desktop.
Save gauravbarthwal/3fc0b44934ce78a97fd4e99322d2ed62 to your computer and use it in GitHub Desktop.
How to extract multi-part .zip, .z01, .z02 files in ubuntu
Download/Copy all related *.zip files in one directory.
Open terminal and change to that directory which has all zip files.
Enter command zip -s- FILE_NAME.zip -O COMBINED_FILE.zip
Enter unzip COMBINED_FILE.zip
@dvlshah
Copy link

dvlshah commented May 14, 2020

Thanks so much. I searched for it a lot and nothing worked for me. This was perfect. 👍

@talalife
Copy link

Just did a massive 18-part archive stitching on my iPhone using Alpine Linux in iSh app. Thanks a lot!

@gauravbarthwal
Copy link
Author

Thanks so much. I searched for it a lot and nothing worked for me. This was perfect. 👍

Thank you. Glad it help you.

@gauravbarthwal
Copy link
Author

Just did a massive 18-part archive stitching on my iPhone using Alpine Linux in iSh app. Thanks a lot!

Thanks

@wxupjack
Copy link

This is the best solution I found! 🙏 👍

@utamadonny
Copy link

thank you

@udithhaputhanthri
Copy link

It worked. Thanks

@Syakhisk
Copy link

👏

@kadiri2006
Copy link

HOW CAN I USE THIS COMMANDS IN COLAB

@liujingcs
Copy link

It worked. Thanks!!!

@qndydyhm
Copy link

thank you! It works for me

@DaniilSintsov
Copy link

Thank you very much!

@javlonrahimov
Copy link

Thanks so much.

@Rana1019
Copy link

Rana1019 commented Jun 5, 2022

Hey, could you explain what the -s- means, i know -s is the flag and it needs a size after -s but how does - after -s work. Thanks btw. I searched for an hour before I found this thread

@karankumar-07
Copy link

karankumar-07 commented Jul 15, 2022

''-" after -s joins all zip files together.

@sdmurcia
Copy link

Hi! I'm new on Linux and I would appreciate it if someone could explain this process in detail. I do have multiple zip files with this name: *Z001, *Z002, etc... Do I have to repeat the third step (Enter command zip -s- FILE_NAME.zip -O COMBINED_FILE.zip) for each file? otherwise, what should I put in the FILE_NAME.zip field?

@zyk6
Copy link

zyk6 commented Jun 1, 2023

Thanks so much.

@ImranNust
Copy link

Thank you so much! I spent many hours finally found your code and it helped.

@SUPERustam
Copy link

Thank you!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment