tar file names
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > tar file names




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    tar file names  
kramer31


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-07 12:22 AM

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?

Thanks.






[ Post a follow-up to this message ]



    Re: tar file names  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-07 12:22 AM

On 18 Jan 2007 14:41:12 -0800, kramer31 <kramer.newsreader@gmail.com> 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 ;)





[ Post a follow-up to this message ]



    Re: tar file names  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-07 12:29 AM

Dave Hinz wrote:
> kramer31 wrote:
> 
>
> 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.






[ Post a follow-up to this message ]



    Re: tar file names  
kramer31


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-07 06:27 AM

Indeed you are right.  tar can handle any of my files (turns out the
names are utf8 not unicode).  Now if only my ntfs driver could...

Thanks

On Jan 19, 5:02 pm, "Doug Freyburger" <dfrey...@yahoo.com> wrote:
> Dave Hinz wrote: 
> 
> 
> 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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:43 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register