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.
Run as follows.../
git clone git://github.com/TrentonAdams/bash-extractor.git cd bash-extractor ./gen-extractor.sh my.tar.gz
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.