bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar: Problems processing files with backslashes


From: ZenWalker
Subject: [Bug-tar] tar: Problems processing files with backslashes
Date: Sun, 15 May 2016 22:55:47 +0200

I noticed tar showing an error with files which contain some backslashes.

Example:
address@hidden:~$ touch '\\'
address@hidden:~$ tar -cf test.tar '\\'

or
address@hidden:~$ touch \\\\
address@hidden:~$ tar -cf test.tar \\\\

Output:

tar: \\: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

But:
address@hidden:~$ touch \\
address@hidden:~$ tar -cf test.tar \\
works.

and:
address@hidden:~$ touch '\'
address@hidden:~$ tar -cf test.tar '\'
works

Best regards




reply via email to

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