2022-10-30 12:20:13 +00:00
|
|
|
# unzipsfx
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
> Create a self-extracting compressed binary file by prepending self-extracting stubs on a Zip file.
|
2022-10-30 12:20:13 +00:00
|
|
|
> More information: <https://manned.org/unzipsfx>.
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Create a self-extracting binary file of a Zip archive:
|
2022-10-30 12:20:13 +00:00
|
|
|
|
|
|
|
`cat unzipsfx {{path/to/archive.zip}} > {{filename}} && chmod 755 {{filename}}`
|
|
|
|
|
|
|
|
- Extract a self-extracting binary in the current directory:
|
|
|
|
|
|
|
|
`{{./path/to/binary)}}`
|
|
|
|
|
|
|
|
- Test a self-extracting binary for errors:
|
|
|
|
|
|
|
|
`{{./path/to/binary)}} -t`
|
|
|
|
|
|
|
|
- Print content of a file in the self-extracting binary without extraction:
|
|
|
|
|
|
|
|
`{{./path/to/binary)}} -c {{path/to/filename}}`
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Print comments on Zip archive in the self-extracting binary:
|
2022-10-30 12:20:13 +00:00
|
|
|
|
|
|
|
`{{./path/to/binary)}} -z`
|