Zipping

2020-06-02 #cli #unix-things-i-always-forget

Zipping is easy. Remembering zip's arguments is hard.

Create a zip archive from multiple files:

zip package.zip README.md LICENSE index.js

Create a zip archive from a directory:

zip website.zip -r sebastiandedeyne-com

Unzip contents to a specified directory.

unzip website.zip -d sebastiandedeyne-com