Skip to content

Instantly share code, notes, and snippets.

@coltenkrauter
Created December 10, 2022 00:04
Show Gist options
  • Save coltenkrauter/3328cd0f42c5d1ff288a1b51a7ebdd3d to your computer and use it in GitHub Desktop.
Save coltenkrauter/3328cd0f42c5d1ff288a1b51a7ebdd3d to your computer and use it in GitHub Desktop.
Merge zip files into a single zip file using Bash/Zsh/Shell terminal
# Will merge all zip files in the current directory into a single zip file merged.zip
mkdir merged
for x in *.zip ; do unzip -d merged -o -u $x ; done
zip -r merged.zip merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment