Re: [netatalk-admins] Hrm.... 8-bit character codes "file doesn't exist" problems...


Subject: Re: [netatalk-admins] Hrm.... 8-bit character codes "file doesn't exist" problems...
From: a sun (asun@saul4.u.washington.edu)
Date: Thu Nov 12 1998 - 20:09:46 EST


     So.... do I need a magic 8-bit filename flag to be enabled? Or
     am I hosed here? It's a major pain in the butt, between unix
     shells being very hostile to any filenames with spaces and magic
     characters in them, and netatalk not letting me at the
     files... etc. OY!

umm, don't do that. you'll confuse the unix<->mac translation code. if
you want to create funky-lettered stuff, do it on the mac side. it
will get translated appropriately. here's what's happening:
     1) unix -> mac. name doesn't get translated, so you see your
        funky characters.

     2) mac -> unix. it sees that it has a funky character and
        maps it to its 7-bit representation. uh oh, that file doesn't
        really exist. poof.

fyi, you can exploit this to get two files with identical names on the
mac side and different names on the unix side. in any case, if you
want to rename/move things on the unix side, just use ^V and
copy-and-paste the characters in question. you can also do a rm/mv -i
type thing as well.

-a



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:42 EST