1.0.0 • Published 6 years ago
@renventura/zipdir v1.0.0
ZipDir CLI
NodeJS CLI command for zipping directories.
Description
A simple terminal command built using NodeJS. This was my first attempt to create a terminal command using Node, and one of my first terminal commands in general (it may not be any good). It does work for Mac - I have not tested for other OS.
Installation
NPM (suggested)
$ npm install -g @renventura/zipdir
From GitHub
- Clone the repository
$ git clone https://github.com/renventura/zipdir.git
cd
into the repoRun:
$ npm install
$ npm i -g
Usage
$ zipdir [dir] [location]
[dir]
- path for directory to be zipped - can be relative or absolute (default: current working directory); e.g. my-directory
[location]
- path and filename for zipped directory (default: parent of current working directory); e.g. ~/Desktop/my-directory.zip
Bugs
If you find an issue, let me know!
Changelog
1.0.0
- Initial commit
1.0.0
6 years ago