tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: tsh@mrc-lmb.cam.ac.uk
Subject: SUMMARY2 tar with -C and wildcard
Date: Mon, 14 Apr 2003 13:03:37 +0100 (BST)	[thread overview]
Message-ID: <200304141203.NAA367972@alf1.mrc-lmb.cam.ac.uk> (raw)

The good Dr Blinn to the rescue yet again.
Tom (as did all the others who kindly responded to my
query) pointed out that the shell handles * expansion.

He than also went on to offer a method whereby we could do this:

tar cf $tape -C /dir1 `cd /dir1; ls file1*` -C /dir2 `cd /dir2; ls file2*` ...

Cheers,
T.
  


                 reply	other threads:[~2003-04-14 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox