squash

Section: Squash (1)
Updated: 14 September 2015

NAME

squash - compress and decompress files

SYNOPSIS

squash [OPTION]… INPUT [OUTPUT]

DESCRIPTION

squash is a command line utility which to compress and decompress data using any codec which libsquash supports. For a list of codecs supported by this copy of libsquash, see the -L flag.

FILES

squash

An input file must be provided, although "-" can be used as an alias for stdin.

If no output file is provided then squash will attempt to guess an appropriate file name based on the requested codec and the name of the input file.

EXAMPLES

squash foo.txt foo.txt.gz
Compress the contents of foo.txt to foo.txt.gz using the "gzip" codec.
squash -dc lz4 - -
Decompress from stdin to stdout using the lz4 codec.

OPTIONS

-V
Print version information and exit
-h
Show help screen
-k
Keep the input file. By default, squash will try to remove it.
-o key=value
Pass the specified option to the codec.
-1 … -9
Pass the compression level to the encoder. This is equivalent to -o level=N.
-c codec
Use codec.
-L
List the available codecs and exit.
-P
List the available plugins and exit.
-f
Overwrite the output file if it exists.
-d
Decompress (the default is to compress).

HOMEPAGE

http://quixdb.github.io/squash/

BUG REPORTS

https://github.com/quixdb/squash/issues

AUTHOR

squash, and this manual page, was was written by Evan Nemerson <evan@nemerson.com>.

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
EXAMPLES
OPTIONS
HOMEPAGE
BUG REPORTS
AUTHOR