Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 985 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 985 Bytes

szd

Just a build

Append a zip file to another file.

I honestly don't remember what szd stands for, so I guess it's now "stick zip to document". ¯\_(ツ)_/¯

NOTE: This handles zip files very rudimentarily. This needs tests and handling for all the additional header types from the specification.

I've seen before how people attach zip file with additional content to files they distribute, e.g. source code to binaries that fly around the internet. I was like, hey, that's reasonably easy, I could try that for myself. So here's the probably over-engineered version, in C++, because I was in the mood to do C++ again.

Usage

It's plain, there's one possible flag. Just do

szd [-o outfile] infile zipfile

License

The MIT License (MIT) 2023 - Kamillo Ferry. Please have a look at the LICENSE for more details.