snappy-cli

module
v0.0.0-...-d3389a4 Latest Latest
Warning

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

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

README

snappy-cli

Simple CLI utility for the snappy compression format

Contains two complementary CLI utilities, one for compressing, the other for uncompressing i.e snappy-compress and snappy-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
  • snappy-compress

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

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

Directories

Path Synopsis
cmd
snappy-compress command

Jump to

Keyboard shortcuts

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