2025-03-14 21:59:59 -06:00
|
|
|
# gzexe
|
|
|
|
|
|
|
|
|
|
> Compress executable files while keeping them executable.
|
|
|
|
|
> Back up the original file, appending `~` to its name and create a shell script that uncompresses and executes the binary inside it.
|
|
|
|
|
> More information: <https://manned.org/gzexe.1>.
|
|
|
|
|
|
|
|
|
|
- Compress an executable file in-place:
|
|
|
|
|
|
|
|
|
|
`gzexe {{path/to/executable}}`
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
- [d]ecompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`gzexe -d {{path/to/compressed_executable}}`
|