Gzexe

From LQWiki
Jump to: navigation, search

The gzexe compresses (or decompresses) binary or script executables using gzip.

The output file is a self-uncompressing script containing a small header and a compressed version of the original executable.

Examples

$ gzexe program

compresses program in-place and saves original one in program~,

$ gzexe -d prog

if prog is a compressed executable it is saved to prog~ and uncompressed executable is saved to prog.

See also