bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar 1.13, -C and -T don't work together


From: Paul Eggert
Subject: Re: tar 1.13, -C and -T don't work together
Date: Tue, 3 Sep 2002 08:50:14 -0700 (PDT)

> From: Greg Wooledge <address@hidden>
> Date: Tue, 3 Sep 2002 09:36:21 -0400
> 
> I'm using GNU tar 1.13 on HP-UX 10.20.  One of my users is writing a
> backup script using GNU tar and wants to combine the -C and --files-from
> switches, like this:
> 
>     .... | tar rvf $writeto -C /a/directory/name --files-from -
> 
> No matter what ordering or spelling we use for the -C/--directory and
> -T/--files-from options, it seems that -C is completely ignored whenever
> -T is used.  If I change the tar command to this:
> 
>     .... | (cd /a/directory/name; tar rvf $writeto --files-from -)
> 
> then it works as expected.

Do you have the same problem with tar 1.13.25?  I seem to remember that
it has fixes in this area.

ftp://alpha.gnu.org/gnu/tar/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]