SUMMARY2 tar with -C and wildcard

From: <tsh_at_mrc-lmb.cam.ac.uk>
Date: Mon, 14 Apr 2003 13:03:37 +0100 (BST)

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.
  
Received on Mon Apr 14 2003 - 12:04:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT