manpagez: man(ual) pages & more
man gzexe(1)
Home | html | info | man
gzexe(1)                  BSD General Commands Manual                 gzexe(1)


NAME

     gzexe -- create auto-decompressing executables


SYNOPSIS

     gzexe [-d] file ...


DESCRIPTION

     The gzexe utility uses gzip(1) to compress executables, producing exe-
     cutables that decompress on-the-fly when executed.  This saves disk
     space, at the cost of slower execution times.  The original executables
     are saved by copying each of them to a file with the same name with a `~'
     suffix appended.  After verifying that the compressed executables work as
     expected, the backup files can be removed.

     The options are as follows:

     -d      Decompress executables previously compressed by gzexe.

     The gzexe program refuses to compress non-regular or non-executable
     files, files with a setuid or setgid bit set, files that are already com-
     pressed using gzexe or programs it needs to perform on-the-fly decompres-
     sion: sh(1), mktemp(1), rm(1), echo(1), tail(1), gzip(1), and chmod(1).


SEE ALSO

     gzip(1)


CAVEATS

     The gzexe utility replaces files by overwriting them with the generated
     compressed executable.  To be able to do this, it is required that the
     original files are writable.

BSD                            January 26, 2007                            BSD

Mac OS X 10.9 - Generated Sat Oct 12 13:09:02 CDT 2013
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.