Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

self-extractor?



Rodney Thayer <rodney at sabletech.com> writes:
>> does anyone know of a self-extracting tool for the Unix world?  I want to
>> create an executable that does the same sort of thing as self-extracing ZIP
>> or ARJ archives do in the PC world.
>> 
>> I want something that is distribution-neutral...

Try a SHAR archive containing a uuencoded gzipped tar file...

   #! /bin/sh
   cat > foo.uu << \SHAR_EOF
   begin 666 foo.tar.gz
   M...a...bunch...of...uuencoded...data...
   M...a...bunch...of...uuencoded...data...
   M...a...bunch...of...uuencoded...data...
   SHAR_EOF
   exit 0

--
John Abreau / Director, BCS Linux & Unix User Group / jabr at bcs.org
The Boston Computer Society / 101 First Avenue / Waltham, MA 02154
Voice +1 617 290 5700 / Fax +1 617 290 5744 / http://www.bcs.org





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org