Created
January 24, 2022 19:30
-
-
Save dvlden/44dff1ffed67932857038229609b08fe to your computer and use it in GitHub Desktop.
Disable `.DS_Store` file creation on Network & USB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable `.DS_Store` file creation on Network & USB | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true | |
# Check the current policy | |
defaults read com.apple.desktopservices |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment