mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 01:49:22 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/linux/unzipsfx
Normal file
29
tldr/linux/unzipsfx
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user