Apple .DS_Store

Discussion in 'Software' started by keef247, 28 Jan 2009.

  1. keef247

    keef247 Minimodder

    Joined:
    11 Aug 2006
    Posts:
    871
    Likes Received:
    6
    basically i think i unchecked a hide hidden files/system files whatever it was option in finder or somewhere on 10.5.6 OS X and now i'm getting these bloody annoying .DS_Store files on my desktop and in every folder.
    simply put how do i get rid of them/hide them.
    really annoying me now!
    cheers
     
  2. bradford010

    bradford010 Bradon Frohman

    Joined:
    7 Dec 2001
    Posts:
    3,426
    Likes Received:
    0
    In Terminal

    defaults write com.Apple.Finder AppleShowAllFiles NO

    Will probably need to reboot afterwards, or just relaunch Finder.
     
  3. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    Just in case you're curious, they're basically the Mac equivalent of thumbs.db; I believe they're the Spotlight index contents for any given folder. So hiding them (as above) is a whole heck of a lot more practical than getting rid of them entirely.
     
  4. keef247

    keef247 Minimodder

    Joined:
    11 Aug 2006
    Posts:
    871
    Likes Received:
    6
    ok cheers
     
  5. Fod

    Fod what is the cheesecake?

    Joined:
    26 Aug 2004
    Posts:
    5,802
    Likes Received:
    133
    just wait til you discover that it also litters every folder you browse to on all your network drives with them...
    there's a command to disable creation of .DS_STORE files on all network media though:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true

    terminal again. i recommend you do that :)
     
  6. bradford010

    bradford010 Bradon Frohman

    Joined:
    7 Dec 2001
    Posts:
    3,426
    Likes Received:
    0
    Spotlight index data is stored in the .Spotlight-V100 directory at the root of a volume (again, the preceding dot indicates it's hidden).
    .DS_Store is just related to the folder it's in, containing things like icon layout, window position, background image and such like.
     
  7. keef247

    keef247 Minimodder

    Joined:
    11 Aug 2006
    Posts:
    871
    Likes Received:
    6
    nope didn't work
     

Share This Page