Created
September 17, 2020 09:18
-
-
Save farrokhi/0e1c101795ec8441beddf391f48759d1 to your computer and use it in GitHub Desktop.
Disable DS_Store file creation on USB disks and network shares
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
#!/bin/sh | |
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
defaults read com.apple.desktopservices |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment