Skip to content

Instantly share code, notes, and snippets.

@florido
Forked from 4np/unzip.sh
Created March 9, 2017 22:08
Show Gist options
  • Save florido/35b2893e81a6397056c00ca894b7a24a to your computer and use it in GitHub Desktop.
Save florido/35b2893e81a6397056c00ca894b7a24a to your computer and use it in GitHub Desktop.
Unzip multipart zip file on Mac OS X / Linux / Unix oneliner
cat *.zip > combined.zip;zip -FF combined.zip --out combined-fixed.zip;rm combined.zip;yes A|unzip -qq combined-fixed.zip;rm combined-fixed.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment