SHELL ARCHIVER recommendation soclicited

SHELL ARCHIVER recommendation soclicited

Post by Jun » Wed, 26 Jun 1991 14:55:49



There are quite a few free versions/flavors of shell archivers floating
around. Which one do you use ? Which do you recommend ? Comparisons of
efficiecy(small, fast) v.s. portability are welcomed ?  Any other facts are
also appreciated. If there is sufficient interest, I'll post a summary.

Follow-ups to comp.unix.questions.  If there is sufficient interest, I'll
post a summary on those e-mail responses(If you have objection to posting
any part of your e-mail to the world, please indicate in your mail.
Otherwise I may include part or whole of your reponses to the world if
a summary is requested).

Thanks very much for your time and help.
-- Jun
--


-- Purdue University               UUCP:    {...hplabs!}pur-ee!luj      --
-- W. Lafayette, IN 47907          Phone:317-494-9410  Fax:317-494-0307 --

 
 
 

SHELL ARCHIVER recommendation soclicited

Post by Byron Rakitz » Wed, 26 Jun 1991 17:06:12



>There are quite a few free versions/flavors of shell archivers floating
>around. Which one do you use ? Which do you recommend ? Comparisons of
>efficiecy(small, fast) v.s. portability are welcomed ?  Any other facts are
>also appreciated. If there is sufficient interest, I'll post a summary.

This archiver has never failed me:

(btw, it was originally written in sh, then translated into rc. It is based
on the bundle(s) described in K&P)

#!/bin/rc
# bundle: group files into distribution package

echo '#' to unbundle, sh this file
echo '#' bundled by `whoami on `hostname at `date

echo '#' contents of bundle:
for (i)
        echo '#' $i

for (i) {
        echo echo $i
        echo 'sed ''s/^-//'' > '$i' <<''end of '$i''''
        sed 's/^/-/' $i
        echo end of $i

Quote:}

--
Byron Rakitzis


 
 
 

SHELL ARCHIVER recommendation soclicited

Post by Robert Hartm » Thu, 27 Jun 1991 03:21:18



>There are quite a few free versions/flavors of shell archivers floating
>around. Which one do you use ? Which do you recommend ? Comparisons of
>efficiecy(small, fast) v.s. portability are welcomed ?  Any other facts are
>also appreciated. If there is sufficient interest, I'll post a summary.
> ...
>Thanks very much for your time and help.
>-- Jun

This came up way back when comp.os.minix was new.

One thing to consider is safety.  If the shar goes haywire you don't
want it trashing your files (or creating things like .rhosts files).
The vanilla shar in K&R works well, and it's a great example of a
recursive script to traverse a file hierarchy, but it doesn't do
anything to insure that the shell commands it uses to unpack the files
won't wreak havoc.

The safer archivers generate sed scripts rather than shell scripts.
Their disadvantage is that the raw archives tend to be bigger and a
bit less easily read.

-r

 
 
 

1. shark - another shell archiver

   I just posted another shell archiver into sunsite.unc.edu and nic.funet.fi.

   This one is very simple and it stores files, descends/create subdirectories,
   creates pipes, symbolic links, char/block devices and automatically
   uuencodes/uudecodes binary files.

   This might be useful to send data inside mail/news messages because all
   output is an ascii file.

   The file is shark.sh and contains the sources and a binary version.

Fernando Pereira

--
*********************************************************************
*   Fernando J. G. Pereira     INESC/CSGI ( CAD/CAM )               *

*********************************************************************

--

PLEASE remember Keywords: and a short description of the software.

2. HELP ABOUT AUDIO...

3. Shell Account Provider Recommendation?

4. KingMax 10/100 pcmcia nic driver

5. Need ISP Shell Account Recommendation

6. linux intel binary emulation

7. The UKs Top Software R & D Opportunities - ECM

8. recommendation on hardware recommendation

9. Q: News Archiver - saves new articles in mailbox format

10. DIALD and archivers

11. HPUX 5.2 archiver

12. KDE 2.0Beta5 Archiver problem