Spontaneous File Name Change?

Discussion in 'Mac Basics and Help' started by msb65, Apr 17, 2009.

  1. msb65 macrumors member

    Joined:
    Sep 17, 2008
    #1
    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
     
  2. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2
    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.
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #3
    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.
     

Share This Page