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