/dev/null

Disable the creation of .DS_Store on SMB shares

.DS_Store files are automatically created by macOS and contain metadata of folders custom attributes. Follow the steps below to disable their creation on SMB shares.

veto files = /._*/.DS_Store/
delete veto files = yes

` defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE `

More information at Adjust SMB browsing behavior in macOS High Sierra 10.13 and later

` find ( -name “.DS_Store” -or -name “.Trashes” -or -name “._*” -or -name “.TemporaryItems” ) -delete `

First published on May 18, 2020