2.0.0 • Published 11 months ago

@danixl30/zipcli v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Simple zip manager

Is a simple CLI tool to compress and extract files.

Installation

npm install -g @danixl30/zipcli

Usage

Extract

You can extract ZIP, RAR, 7z and tar.gz files. If the file don't specify the extension you can choose one of these extractors.

To extract file use.

zipm eextract --file {FILE_PATH} --password {PASSWORD_OPTIONAL} --out {OUTPUTDIR_OPTIONAL}

--password or -p Is for password it's optional.

--out or -o Is for alternative output dir it's optional for default use the working directory.

--file or -f Pass the name of the file to extract

Compress

You can compress dir to ZIP, RAR and 7z file. These script will compress all files at directory.

To compress file use.

zipm ccompress --path {DIR_PATH_OPTIONAL} --type {COMPRESSION_TYPE_OPTIONAL} --out {OUTDIR_OPTIONAL}

--path or -p You can specify custom path to compress. If you don't specify the path will use working directory.

--out or -o Is for alternative output dir it's optional for default use the working directory.

--type or -t You can specify which type of file do you want like ZIP, RAR or 7z. If you don't pass the program will ask you.

Aditional help

zipm --help
zipm compress --help
zipm extract --help