in reply to TAR Escaping

hmmm tried it on my Debian stable with tar 1.14, and did all these things without a problem the File3'Hello.txt was tarred properly, without any errors.
Perhaps you should update your system?
ps. output of tar gave this (used -v to be verbose)
jbrugger@deb:/tmp$ tar -cv -P -T txt.txt -f MyTarFile.tar File1.jpg File2.gif File3'hello.txt jbrugger@deb:/tmp$

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Replies are listed 'Best First'.
Re^2: TAR Escaping
by davemcgi (Novice) on Jul 20, 2005 at 10:02 UTC
    Hmmm,

    We're on Redhat Linux 2.4.23 with tar (GNU tar) 1.13.17

    I get ...

    /bin/tar: File3\'Hello.txt: Cannot stat: No such file or directory

    I'll try an upgrade and see if that helps. Thanks.