nfriedly / node-bestzip

Provides a `bestzip` command that uses the system `zip` if avaliable, and a Node.js implimentation otherwise.
MIT License
80 stars 16 forks source link

Is it possible to add files to an existing archive #29

Closed sellomkantjwa closed 2 years ago

sellomkantjwa commented 5 years ago

Currently if I do bestzip ./index.zip ./file1

then later do

bestzip ./index.zip ./file2

The second command seems to create a new archive instead of adding to the existing one, so we end up with only file2 in the archive.

Is there a way to update instead of overwrite the archive?

nfriedly commented 5 years ago

It's not currently possible, although I imagine it could be added if you'd like to send a PR.