shar (was Re: Fast Printer driver)

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Sat Jul 28 08:28:58 AEST 1990


In article <1990Jul26.015350.1481 at 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 at n4hgf.Mt-Park.GA.US
"Tell the moon; don't tell the March Hare: He is here. Do look around."



More information about the Alt.sources.d mailing list