Re: tar file names



Dave Hinz wrote:
kramer31 wrote:

Hi. Can someone tell me what file names are allowed internally in the
tar file format? Can they be stored in unicode or are the other means
to deal with special characters in filenames?

I think any filename you can create, tar can handle. Including names
with spaces. Easy enough to test with a tar -cvf and then a tar -tvf of
some test directories. Let us know what you find ;)

tar gets the names from the directories so any name you can get into
a directory tar can handle. No slashes or nulls as slashes separate
directories and nulls terminate strings.

I haven't tried unicode in specific but I've dealt with all sorts of
control
characters, escape sequences and so on and tar handles them fine.

.



Relevant Pages

  • Re: tar file names
    ... tar can handle any of my files (turns out the ... Can they be stored in unicode or are the other means ... No slashes or nulls as slashes separate ... directories and nulls terminate strings. ...
    (comp.unix.admin)
  • Re: tar file names
    ... to deal with special characters in filenames? ... I think any filename you can create, tar can handle. ... some test directories. ...
    (comp.unix.admin)
  • Re: Handling foreign character sets in VBA - Grrrr
    ... If this were an ongoing issue, it'd be worth it, but... ... displayed in a messagebox (with the special characters ... Well the procedure clearly places the filenames that reside in ... Thanks anyway, I'm grateful for the info re working with unicode, ...
    (microsoft.public.office.developer.vba)
  • Re: Tar module issue
    ... I don't have the original query any more but I think your problem is related ... to mixing absolute and relative file paths. ... global variables in your code versus the filenames stored in the TAR archive. ...
    (comp.lang.python)
  • Re: A silly question about tar
    ... Florian Kulzer wrote: ... filenames in one line, separated by spaces. ... It looks like the "extract" action interprets the first filename ... not the tar command itself. ...
    (Debian-User)