DEV Community

pineapplemeat
pineapplemeat

Posted on

Disable creation of .DS_Store files

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Enter fullscreen mode Exit fullscreen mode

Read:

defaults read com.apple.desktopservices
Enter fullscreen mode Exit fullscreen mode

Remove setting:

defaults delete com.apple.desktopservices DSDontWriteNetworkStores
Enter fullscreen mode Exit fullscreen mode

Top comments (0)