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

Re: Executor w/ netatalk



>>>>> "Hyung-song" == Hyung-song Nam <namh@wintermute.resnet.cornell.edu> writes:

    Hyung-song> hello, I have netatalk package running on my machine,
    Hyung-song> so I was able to mount my disk on a mac and copy files
    Hyung-song> to my linux disk. Is there any way to use these files
    Hyung-song> with executor?  It seems afpd keeps two separate files
    Hyung-song> for a mac file. (data and resource fork in separate
    Hyung-song> files)

Yes.  Executor stores its files in the official AppleDouble format,
which is slightly different (and worse) than the netatalk
representation.

Fortunately, the file layouts are the same.  They just have different
names.  If memory serves, you need to:

  1) Prepend a "%" character to the filenames of all files in the
     .AppleDouble directory and then move them up a directory.

  2) Replace each ":HH" sequence in any filenames with "%HH"
     (where HH is two hexadecimal digits) with %HH.

I think that's all, but I haven't personally used netatalk so I might
be forgetting something.

-Mat


References: