[CLUG-tech] recursive tar
catchall at geograph.co.za
Fri Mar 9 08:00:18 SAST 2007
Izak Burger wrote:
> On 3/8/07, Jeremy Thurgood <jerith at jerith.za.net> wrote:
>> Looks like a job for find:
> Agreed. Everyone seems to forget about the tar -T option though (-T-
> makes it read the list from stdin, pretty much like cpio does):
> find . -name "*.prj" | tar -T- -zcf /home/data/tarzGW0_`date +%Y%m%d`
ok - latest set of Kudos go to you :-)
Geograph (Pty) Ltd.
P.O. Box 31255, Tokai 7966, South Africa.
B3-106 Tokai Village, cnr Vans/Tokai Rds,
Tokai 7945, Western Cape, South Africa.
Tel: +27-21-7154329 Mobile: +27-83-6004028
More information about the clug-tech