| 1 min read | Unix things I always forget 3/7

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

Create a zip archive from multiple files:

zip LICENSE index.js

Create a zip archive from a directory:

zip -r sebastiandedeyne-com

Unzip contents to a specified directory.

unzip -d sebastiandedeyne-com

Unix things I always forget

This series is an attempt to document the Unix commands I know, and the ones I occasionally need.

Follow along, and you might learn some tricks along the way! Consider this series a living document that will grow organically; I won’t be updating or adding new posts on a set schedule.

  1. Introduction
  2. Listing directories
  3. Zipping
  4. Rsync
  5. Finding files (by filename)
  6. Finding files (by content)
  7. Permissions

More about cli