bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Using tar on a file with a non-ASCII filename


From: Ruth Griswold
Subject: Re: [Bug-tar] Using tar on a file with a non-ASCII filename
Date: Mon, 2 Jul 2007 13:25:29 -0700

You have forgotten to tell us what versions of GNU tar are you running.
From the above output I can deduce it is something prior to version
1.15. Am I correct?



Thank you for pointing this out.  I am using cygwin on a windows XP professional version 2002 service pack 2. I recently downloaded an updated version of cygwin, which includes version 1.17 of gnu tar. 
I was trying to unarchive the file on my own mac computer, however, and I realized that my own computer has an outdated version of tar. When I tried to unarchive the Demo files on the windows server computer itself, it worked.

This did not help with my problem of the Chinese files not being copied, though.
When I copy the files through network connections on my mac computer, the names show up with Chinese characters: 问卷回答.doc
On my PC, they show up as boxes instead of characters.
For the files in folder "test", named: 
G.doc
☐☐☐☐.doc
☐☐☐☐
☐☐☐☐0000.doc
☐☐☐☐0001.doc

I got the following output when running tar (on the windows server computer with ver 1.17):
bash-3.2$ /bin/tar -c -v -f - 'test' > test.tar
test/
test/G.doc
/bin/tar: test/????.doc: Cannot stat: No such file or directory
/bin/tar: test/????.shs: Cannot stat: No such file or directory
/bin/tar: test/????0000.doc: Cannot stat: No such file or directory
/bin/tar: test/????0001.doc: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors

The backup script that normally creates all these files uses gzip after the file is tar archived, then pipes this into an ssh connection to a Mac server computer running MacOSX 10.4.9, and it gives the same error as above.


Thank you for your help, any suggestions on this would be appreciated.



Ruth


 
Ruth Griswold                 
ruth@learn.motion.com                                           
Learning in Motion, Inc.               



On Jun 30, 2007, at 12:48 AM, Sergey Poznyakoff wrote:

Ruth Griswold <address@hidden> ha escrit:

When I try to use the tar -list command on the file, I get the
following:
"macmini:~/Desktop macmini$ tar --list -f Demo.tar.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 7182 bytes from Demo.tar.bz2
tar: Error exit delayed from previous errors"

You have forgotten to tell us what versions of GNU tar are you running.
From the above output I can deduce it is something prior to version
1.15. Am I correct? In that case, please upgrade to the recent version
(v.1.18 was released yesterday), because it fixes both the automatic
file format recognition (the problem described by the above error
message), and the extraction of filenames with non-ASCII characters
(which the rest of your letter addresses).

Regards,
Sergey



reply via email to

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