From b22fd9ff59867d20b4c29cbf0d1daa8bf8dcff2d Mon Sep 17 00:00:00 2001 From: NikhilSS Date: Sun, 30 Oct 2022 17:50:13 +0530 Subject: [PATCH] unzipsfx: add page (#9225) --- pages/linux/unzipsfx.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/unzipsfx.md diff --git a/pages/linux/unzipsfx.md b/pages/linux/unzipsfx.md new file mode 100644 index 000000000..72b62558d --- /dev/null +++ b/pages/linux/unzipsfx.md @@ -0,0 +1,24 @@ +# unzipsfx + +> Create a self-extracting compressed binary file by prepending self-extracting stubs on a `zip` file. +> More information: . + +- 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`