1. Delete the .DS_Store file
sudo find ./ -name ".DS_Store" -depth -exec rm {} \;
2. Prohibit the generation of this file
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
1. Delete the .DS_Store file
sudo find ./ -name ".DS_Store" -depth -exec rm {} \;
2. Prohibit the generation of this file
defaults write com.apple.desktopservices DSDontWriteNetworkStores true