Skip to content

Zip/Unzip directories cross platform from the CLI. Great for npm scripts.

License

Notifications You must be signed in to change notification settings

jprichardson/cross-zip-cli

Repository files navigation

cross-zip-cli

npm travis windows Build status standard

Zip/Unzip directories cross platform from the CLI. Great for npm scripts. Built on cross-zip.

Why?

This is really useful for zipping/unzipping in your npm scripts that should run on cross-platform.

Install

npm install -g cross-zip-cli

Usage

cross-zip

cross-zip [options] inputDir [zipFile]

  Zips a directory.

Examples:

  cross-zip /tmp/data
  cross-zip /tmp/data /tmp/data-reports.zip

Options:

  --help This message that you're viewing.
  --version The version.

cross-unzip


  cross-unzip [options] zipFile outputDir

    Unzips a file.

  Examples:

    cross-unzip /tmp/data-reports.zip /tmp/data

  Options:

    --help This message that you're viewing.
    --version The version.

Related

License

MIT

About

Zip/Unzip directories cross platform from the CLI. Great for npm scripts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •