LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

unzipsfx

Create self-extracting ZIP executables

TLDR

TLDR

Create self-extracting binary
$ cat $(which unzipsfx) [path/to/archive.zip] > [filename] && chmod 755 [filename]
copy
Extract self-extracting binary
$ ./[path/to/binary]
copy
Test for errors
$ ./[path/to/binary] -t
copy
Print file content without extracting
$ ./[path/to/binary] -c [path/to/file]
copy
Show comments
$ ./[path/to/binary] -z
copy

SYNOPSIS

unzipsfx is typically concatenated with a ZIP archive

DESCRIPTION

unzipsfx creates self-extracting compressed binary files by prepending self-extracting stubs to ZIP archives. The resulting executable can extract itself without requiring unzip to be installed.The stub is typically concatenated with a ZIP archive using cat, then made executable.

PARAMETERS

-t

Test archive for errors
-c FILE
Print file content without extraction
-z
Print archive comments

INSTALL

sudo apt install unzip
copy
sudo dnf install unzip
copy
sudo pacman -S unzip
copy
sudo apk add unzip
copy
sudo zypper install unzip
copy
brew install unzip
copy
nix profile install nixpkgs#unzip
copy

CAVEATS

Self-extracting binaries are platform-specific. The stub adds size overhead to the archive. Some systems may block execution of self-extracting archives.

SEE ALSO

zip(1), unzip(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid