Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 844 Bytes

README.mediawiki

File metadata and controls

16 lines (11 loc) · 844 Bytes

bash-extractor

A bash extractor generation script. It embeds a tar.gz binary file into a bash script, making a self-extracting tar.gz. Extracts to a temporary directory in /var/tmp/. Allows addition of an additional script to run after extraction; this allows for completely automated restores for example.

Usage

Run as follows.../

 git clone git://github.com/TrentonAdams/bash-extractor.git
 cd bash-extractor
 ./gen-extractor.sh my.tar.gz

Credits/License

Taken from lembra's blog, though the original source looks likely to be the Linux Journal

Since there does not seem to be any indication of a license from the sources, this source is apparently public domain.