[comp.unix.i386] shar

wht@n4hgf.Mt-Park.GA.US (Warren Tucker) (07/28/90)

In article <1990Jul26.015350.1481@cimcor.mn.org> you write:
>Sorry, about the tar file...my shar doesn't understand directories.
>
>#!/bin/sh
># This is fast_lp, a shell archive (shar 3.32)

try:

ls *.[ch] Blah/*.[ch] | shar -S
-or-
shar *.c d/*.c
-or-
find . -type f -print | shar -S
-or-
whatever

No, shar will not archive a directory, per se, or automagically
include a directory's contents, but dir/* will get it.

-S says read filenames from stdin, for cases when the list of
arguments won't fit on a max length command line.
 
-----------------------------------------------------------------------
Warren Tucker, TuckerWare    emory!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US
"Tell the moon; don't tell the March Hare: He is here. Do look around."