bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] GNU TAR: problem with --files-from & -C in filelist


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] GNU TAR: problem with --files-from & -C in filelist
Date: Tue, 24 Aug 2004 15:19:00 +0300

Klaus Witberg <address@hidden> wrote:

>    When using `--files-from' (see section 6.3 Reading Names from a File),
>    you can put `-C' options in the file list. 

Yes, that is so. But, unfortunately, tar documentation does not say that
-C and its argument must be on two separate lines, so instead of:

> attempt #1:
>    cobol_src/_mvs/komwdvs.cbl
>    -C /scm2test/cba/wa_ptest/MID_COBJ~2.0_sqa/MID_COBJ/Dokumentation
>    Komdoku.doc
>    -C /scm2test/cba/wa_ptest/MID_COBJ~2.0_sqa/MID_COBJ
>    Fehlertexte/MIDCOBJ.MSG
>    Fehlertexte/MIDCOBJ.XLS

use

cobol_src/_mvs/komwdvs.cbl
-C
/scm2test/cba/wa_ptest/MID_COBJ~2.0_sqa/MID_COBJ/Dokumentation
Komdoku.doc
-C
/scm2test/cba/wa_ptest/MID_COBJ~2.0_sqa/MID_COBJ
Fehlertexte/MIDCOBJ.MSG
Fehlertexte/MIDCOBJ.XLS

Regards,
Sergey




reply via email to

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