/zem

zem is a tool for quickly zipping files with specific file extensions.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

shellcheck workflow

Zip 'em! (zem)

zem is a tool for quickly and recursively zipping files with specific file extensions.

Examples

You can obtain these same examples with zem --tldr in the command-line.

  • Create a zip file named "htmls.tar" that contains all files with the ".html" extension.

    zem -o "htmls.tar" -p "*.html"
  • Create a zip file named "web.tar" that contains all files with the ".html" and ".css" extensions.

    zem -o "web.tar" -n 2 -p "*.html" "*.css"

To-Do

  • Add option to specify root directory.
  • Add option(s) for compression.