Disabling and Removing .DS_Store Files

Discussion in 'Mac OS X Server, Xserve, and Networking' started by SuperVivid, Mar 20, 2015.

  1. SuperVivid macrumors newbie

    Joined:
    Mar 20, 2015
    #1
    Hey Guys,

    first of all I'm sorry to bother you with another dotfiles Thread but i searched for half an hour and didn't find something fitting my problem. im running a OSX 10.10 Server in my company and use it for filesharing (via SMB with Open Directory). It's a MacMini and there are several (3) Drobos connected to it which store and backup our data.

    When i set up the server everything was fine and fast. But the (finder browsing) perfomance is dropping and dropping. I found out that there must be a coherence with the dot files. We are using Mac client with the Server. I can run a Windows VM and mount the same networkdrives than everything is just fine.

    I used dot_clean on some directorys (And didn't fully understand what it did) but after that the browsing speed really improved. So I decided to kick the dotfiles. What is the best practice to do this?

    Should i run this on every client?
    defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

    And than on my server run
    sudo dot_clean -vsn /Volumes/*
    &
    find . -type f -name "._*" -exec rm "{}" \;


    Is this a good idea? I'd like to know a way to disable the creation of dotfiles on the serverside and not to have to do it on every client.


    thank you in advance
     
  2. dyt1983, Mar 20, 2015
    Last edited: Jun 2, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #2
    edit: To remove personally identifying information not relevant to the thread.
     

Share This Page