zlib-cli

module
v0.0.0-...-045b5ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2016 License: MIT

README

zlib-cli

Simple CLI utility for the zlib compression format

Contains two complementary CLI utilities, one for compressing, the other for uncompressing i.e zlib-compress and zlib-uncompress.

  • Note: Both utils:
  • Read either from stdin or from a file on disk passed in as a path.
  • Output their result to stdout.
Installation and usage
  • zlib-compress

CLI utility to compress data in the zlib format. It takes in either a source file or content from stdin e.g

$ go get github.com/odeke-em/zlib-cli/cmd/zlib-compress
$ cat content | zlib-compress > output.compressed
$ zlib-compress ~/Downloads/fileUp > output.compressed
  • zlib-uncompress
$ go get github.com/odeke-em/zlib-cli/cmd/zlib-uncompress
$ cat content.compressed | zlib-uncompress > uncompressed
$ zlib-uncompress content.compressed > uncompressed

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL