gzexe - create auto-decompressing executables
gzexe [-d] file ...
The gzexe utility uses gzip(1) to compress executables, producing executables
that decompress on-the-fly when executed. This
space, at the cost of slower execution times. The original
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
The gzexe program refuses to compress non-regular or non-executable
files, files with a setuid or setgid bit set, files that are
using gzexe or programs it needs to perform on-thefly decompression:
sh(1), mktemp(1), rm(1), echo(1), tail(1), gzip(1),
The gzexe utility replaces files by overwriting them with
compressed executable. To be able to do this, it is required that the
original files are writable.
OpenBSD 3.6 July 30, 2003
[ Back ]