Re: Long Filenames


Subject: Re: Long Filenames
From: Derek J. Balling (dballing@yahoo-inc.com)
Date: Thu Apr 06 2000 - 19:43:14 EDT


> > This is going to sound silly, but has ANYONE had any luck with transferring
> > files with long filenames over to the Mac?
>
> By shortening the names :-)

Well, aside from that. ;-)

I've got a bunch of stuff on CD-R (that I can't easily rename for the
obvious reasons), that I want to transfer, via netatalk or DAVE, or
who-cares-what, over to the Mac. I'd put the CD-R's in the Mac directly,
but there's no support for Joliet file extensions, which puts me in the
same boat. :)

> The trouble I see is that then NetATalk has to deal with the possiblity
>of duplicate names being created. It just cant chop >32 off with out the
>very likely possiblity of duplicates.

Agreed. My thought was just to do a "Win95"-like munging. So that if I had
(assume these are longer, I'm too lazy to type *G*)

LongLongLongLongLong-Track1.mp3
LongLongLongLongLong-Track2.mp3

they would get munged to

LongLongLongLongLo~1.mp3
LongLongLongLongLo~2.mp3

or something like that.

> The 8.3 code is Samba is a nightmare to look at. Not only has does it
>have to make sure a name doesnt duplicate, but does the same thing each
>time. Unlike the M$ operating systems that just store both forms of the
>name on the disk, Samba has to re-run the short name generator each
>time.

Yuck.

> > install), and I've tried DAVE (from thursby.com) to try and transfer them
> > that way (except DAVE bones the long filenames by transferring them as
> > 01PULP~3.MP3, using the 8.3 filename instead of working with the long
> > filename to create something useful.
>
> That I expect is sensible behavour. The 'long' name is to long, request
>the 'short' name from the server instead. The munged short name would
>have been created by Samba on the server.

I would have it thought it would have been more sensible (well, to me, it
IS more sensible *G*) to create an abbreviated name on the destination side
using the longer name instead of the short-name.

That is to say, "give me the filename that most looks like what I last saw,
given the OS restrictions of the OS I'm trying to operate within."

That's the logic I was using anyhow. :)

D

-----------------------------------------------------------------------
Derek Balling 408-530-5062
Technical Yahoo Do You Yahoo!?



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:25 EST