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

EricBrian

macrumors 6502a
Original poster
Jul 30, 2005
656
7
Is there a way to prevent .DS_Store files being written to folders? They are annoying and interfering with my CVS projects.

Thanks! :)
 

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
AFAIK you can't stop it being written - it's used by the finder to store where icons are placed etc. As others have said you can get it to be ignored.

.DS_Store is also a PITA if you use a mac on windows shares. It's invisible to mac users but shows up to windows users. IIIRC however windows uses it's own hidden files and the reverse situation is true.
 

balamw

Moderator emeritus
Aug 16, 2005
19,366
979
New England
caveman_uk said:
AFAIK you can't stop it being written - it's used by the finder to store where icons are placed etc.
From the links I posted, this will stop them from being written on network shares, but there are things you lose, like Finder comments.

  1. Open the Terminal.
  2. Type:
    Code:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  3. Press Return.
  4. Restart the computer.
B
 

bond304

macrumors newbie
May 6, 2008
9
0
From the links I posted, this will stop them from being written on network shares, but there are things you lose, like Finder comments.

  1. Open the Terminal.
  2. Type:
    Code:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  3. Press Return.
  4. Restart the computer.
B

Doesn't that only work on network volumes?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.