Skip to content

Instantly share code, notes, and snippets.

@msis
Created September 16, 2020 20:38
Show Gist options
  • Save msis/bf999a0a50ad9fc7efdcc13fd9eae45a to your computer and use it in GitHub Desktop.
Save msis/bf999a0a50ad9fc7efdcc13fd9eae45a to your computer and use it in GitHub Desktop.
Toggle .DS_Strore files
  1. To disable the file creation: defaults write com.apple.desktopservices DSDontWriteNetworkStores true

  2. To enable the file creation: defaults write com.apple.desktopservices DSDontWriteNetworkStores false

A restart is required for changes to take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment