https://github.com/scripttiger/kanzisfx
KanziSFX is a minimal Kanzi decompressor to decompress an embedded Kanzi bit stream, with built-in support to also untar a compressed tar archive. So, the embedded Kanzi bit stream could contain either a single file of arbitrary type or a tar archive which will be both decompressed and unarchived.
https://github.com/scripttiger/kanzisfx
archives compression decompression decompressor self-extracting self-extracting-archive tar unarchiver untar
Last synced: 5 months ago
JSON representation
KanziSFX is a minimal Kanzi decompressor to decompress an embedded Kanzi bit stream, with built-in support to also untar a compressed tar archive. So, the embedded Kanzi bit stream could contain either a single file of arbitrary type or a tar archive which will be both decompressed and unarchived.
- Host: GitHub
- URL: https://github.com/scripttiger/kanzisfx
- Owner: ScriptTiger
- License: mit
- Created: 2024-09-14T03:24:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T13:47:58.000Z (8 months ago)
- Last Synced: 2024-12-15T08:10:33.890Z (5 months ago)
- Topics: archives, compression, decompression, decompressor, self-extracting, self-extracting-archive, tar, unarchiver, untar
- Language: Go
- Homepage: https://scripttiger.github.io/more/
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform)
# KanziSFX: Kanzi SelF-eXtracting archive
KanziSFX is a minimal Kanzi decompressor to decompress an embedded Kanzi bit stream, with built-in support to also untar a compressed tar archive. So, the embedded Kanzi bit stream could contain either a single file of arbitrary type or a tar archive which will be both decompressed and unarchived.Usage: `kanzisfx [options...]`
Argument | Description
--------------------------|-----------------------------------------------------------------------------------------------------
`-knz` | Output Kanzi bit stream
`-o ` | Destination file or directory
`-info` | Show Kanzi bit stream info`-` can be used in place of `` to designate standard output as the destination, but cannot be used in place of a directory for extracting tar archives.
Without any arguments, the embedded Kanzi stream will be decompressed into the working directory to a file of the same name as the executable, except with the `.exe` or `.app` extension removed. Or, if the Kanzi stream contains a tar archive, the tar archive will be both decompressed and unarchived into a folder within the working directory of the same name as the executable, except with the `.exe` or `.app` extension removed. So, command-line usage is only optional and the end user can just execute the application as they would any other application for this default behavior.
# Appending a Kanzi archive to a KanziSFX executable
Download the latest pre-built release for the intended target system:
https://github.com/ScriptTiger/KanziSFX/releases/latestFor appending a Kanzi archive to a KanziSFX executable, issue one of the following commands.
For Windows:
```
copy /b "KanziSFX.exe"+"file.knz" "MyKanziSFX.exe"
```For Linux and Mac:
```
cat "KanziSFX" "file.knz" > "MyKanziSFX"
```# More About ScriptTiger
For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
https://scripttiger.github.io/[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MZ4FH4G5XHGZ4)