bug-tar
[Top][All Lists]
Advanced

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

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


From: Ruth Griswold
Subject: [Bug-tar] Using tar on a file with a non-ASCII filename
Date: Fri, 29 Jun 2007 15:41:57 -0700

I have a program set up to archive several folders on a server computer every night using the tar command. These folders contain files which are put onto the server from people in other countries, so there are some filenames that are in ASCII format.

I recently ran into a problem where I was unable to open one of the tar files created. Running the tar -x command identified one particular file within the tar file that was causing problems, and when I removed this file, the archive worked properly. 
The error it gave me was:
"Demo/Catal\340.pdf: Cannot open: Invalid argument. Error exit delayed from previous errors"
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"

This file is not corrupted, I can open it without any problems, I am assuming that the issue is that the name is not in ASCII format. It is called CatalA.pdf, with a tilde over the last A, and the pdf is in another language.


I also have some filenames in Chinese characters, which show up as empty boxes in the document title. When I archive the folder with these files, there is no problem creating an openable archive, but all of these files are left out of it. There is a message for each one when the archive is being created, where the empty boxes are replaced with 0's and there is an error message about each specific file.

Is the problem with the first file the name?
Is there any way using tar to create an archive of all of the files that I want to, regardless of whether or not they are in ASCII, or do I need to convert them into a different format each time? 


Thank you,

Ruth


Ruth Griswold                 
(831)464-4100                                       
Learning in Motion, Inc.               
497 Lake Avenue                         
Santa Cruz, CA 95062



reply via email to

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