HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

unzipsfx — Create a self-extracting compressed binary file by prepending self-extracting stubs on a Zip file. M

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandextractingcliunzipsfxbinarycompressedself
linux

Problem

How to use the unzipsfx command: Create a self-extracting compressed binary file by prepending self-extracting stubs on a Zip file. More information: <https://manned.org/unzipsfx>.

Solution

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 $(which 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/file}}


Print comments on Zip archive in the self-extracting binary:
{{./path/to/binary}} -z

Code Snippets

Create a self-extracting binary file of a Zip archive

cat $(which 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/file}}

Print comments on Zip archive in the self-extracting binary

{{./path/to/binary}} -z

Context

tldr-pages: linux/unzipsfx

Revisions (0)

No revisions yet.