node-bestzip
node-bestzip copied to clipboard
Delete source directory after zipping CLI
Is there any way to delete source dir after zipping? Or maybe it could be added.
Hi @KonradLinkowski that's an interesting thought. This library tries to use the native zip command when possible and mirror it's functionality the rest of the time, though. Do you know if there's an option for that built-into any native zip command?
@nfriedly Hello,
https://linux.die.net/man/1/zip
-m or --move works like that
Oh, cool, I didn't know about that. do you think you can send a PR that implements the feature in JavaScript and forwards the flag along to the natives zip?