2025-03-14 21:59:59 -06:00
|
|
|
# unzipsfx
|
|
|
|
|
|
|
|
|
|
> Create a self-extracting compressed binary file by prepending self-extracting stubs on a Zip file.
|
|
|
|
|
> More information: <https://manned.org/unzipsfx>.
|
|
|
|
|
|
|
|
|
|
- Create a self-extracting binary file of a Zip archive:
|
|
|
|
|
|
|
|
|
|
`cat unzipsfx {{path/to/archive.zip}} > {{filename}} && chmod 755 {{filename}}`
|
|
|
|
|
|
|
|
|
|
- Extract a self-extracting binary in the current directory:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`{{./path/to/binary}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Test a self-extracting binary for errors:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`{{./path/to/binary}} -t`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print content of a file in the self-extracting binary without extraction:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`{{./path/to/binary}} -c {{path/to/filename}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print comments on Zip archive in the self-extracting binary:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`{{./path/to/binary}} -z`
|