mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
unzipsfx: add page (#9225)
This commit is contained in:
parent
aa5621f443
commit
b22fd9ff59
1 changed files with 24 additions and 0 deletions
24
pages/linux/unzipsfx.md
Normal file
24
pages/linux/unzipsfx.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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:
|
||||
|
||||
`{{./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}}`
|
||||
|
||||
- Print comments on `zip` archive in the self-extracting binary:
|
||||
|
||||
`{{./path/to/binary)}} -z`
|
Loading…
Add table
Reference in a new issue