Man Linux: Main Page and Category List

NAME

       anycompress  -  use  any CompLearn module data compressor to compress a
       file

SYNOPSIS

       anycompress [-L] [ -c compressor ] [ infile ] [ outfile ]

DESCRIPTION

       anycompress is a simple and  powerful  generic  compression  tool.   By
       default,  it  reads  an  input  file from standard input.  If a command
       argument is given it will use that as input instead.   It  produces  an
       output  file  (or  writes to stdout if reading from stdin) by adding an
       extension to the end of the input filename.  The  user  may  optionally
       specify  an  output  filename  instead.   The  compressor to use may be
       specified using the complearn.conf(5)  configuration  file  or  the  -c
       command line option as described below.

       OPTIONS

       -c, --compressor=compressor
              use and set compressor to use

       -L, --list
              list   available   builtin  compressors  as  well  as  available
              compression  modules.   Modules  are  loaded  from  the  modules
              subdirectory   of  /usr/lib/complearn.   -h,  --help  show  help
              options and exit

EXAMPLES

       To gzip a text file to produce a file called readme.txt.gz:

       anycompress -c gzip readme.txt

       To compute the SHA2 (SHA256) checksum of a file (assuming you have the
              complearn   cryptographic   compression   modules    installed):
              anycompress  -c  sha2  <  /bin/ls  To  do  the  same  with  MD5:
              anycompress -c md5 < /bin/ls

FILES

       $HOME/.complearn/complearn.conf

       /usr/share/complearn/complearn.conf

       /usr/local/share/complearn/complearn.conf

        per-user and system configuration files
              see complearn(5) for further details.

       $HOME/.complearn/modules

       /usr/lib/complearn/modules

        standard module automatic loading area.  Any shared object compressor
              modules found here will be loaded on startup.

ENVIRONMENT

       COMPLEARNMODPATH
               If this environment variable is set, CompLearn will search  the
              given  directory  and  load any CompLearn compression modules it
              finds there (such as the libart.so  example  included  with  the
              CompLearn source distribution) none

DIAGNOSTICS

       none

SEE ALSO

       anydecompress(1),   complearn(5),   complearn-config(1),   maketree(1),
       ncd(1)