[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-C and -T do not play well together
From: |
A Braunsdorf |
Subject: |
-C and -T do not play well together |
Date: |
Mon, 16 Sep 2002 09:18:31 -0500 |
If I do something like:
tar -czf home.tgz -C /home/directory file1 file2 file3
it does not have the same effect as if the files are listed in a
file and -T is used:
tar -czf home.tgz -C /home/directory -T FILES
in the latter case, the names in FILES are take relative to the
current directory, not the one specified by -C.
There doesn't seem to be a way to get the desired effect, and it
is difficult to achieve in other ways, so I'd call it a bug. If
we wanted the files in FILES to be relative the current directory,
that could be specified before the -C, or (if -C worked with -T),
another -C could be used.
ab
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- -C and -T do not play well together,
A Braunsdorf <=