zem is a tool for quickly and recursively zipping files with specific file extensions.
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"
- Add option to specify root directory.
- Add option(s) for compression.