bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] transform with add-file seems broken


From: Stas Sergeev
Subject: [Bug-tar] transform with add-file seems broken
Date: Wed, 26 Jul 2017 17:22:56 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hello.

I am doing the following:

$ tar cf a.tar a.txt
$ tar rf a.tar --add-file=`pwd`/b.txt --transform=s,`pwd`/,aaa/,
tar: Removing leading `/' from member names

The transform is completely ignored, and
tar complains to leading slash.
But the following case works fine:

$ tar cf a.tar a.txt
$ tar rf a.tar --add-file=b.txt --transform=s,^,aaa/,

Am I doing something wrong, or is it a bug?



reply via email to

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