Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

msb65

macrumors member
Original poster
Sep 17, 2008
61
0
Hi,

I am using a PPC Mac running OS 10.4

I have a directory containing a bunch of files. When viewed with the Finder one file is called 2007009-2007016.s0481pfrt-sst.hdf (normal). However, when I type 'ls' in a terminal, the file is called 200700~2.HDF (odd).

What is even odder is that I believe this happened on it's own accord, because I have put some safety nets regarding file names in a program that uses these files, and it is only now catching this.

What could cause this to happen? Regardless if this filename change happened spontaneously (or caused by me somehow), why is it that the file name appears differently when viewed in the finder and a terminal?

Mike
 
I believe that is what happens when you put a file on an old DOS-formatted FAT volume. Turns into an 8.3 character name. Why it's appearing one way in one app and another elsewhere I dunno.
 
Do you happen to have Parallels installed? I think I remember those types of files being from it.

As to why Terminal and Finder show differently, well they're different apps written differently. Terminal is a Unix thing where Finder is a Mac thing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.