Created
December 6, 2021 20:22
-
-
Save matthewblott/60e16ccaa7ba7bc51454d9865d9f9d36 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# remove .DS_Store files | |
sudo find / -name .DS_Store -delete; killall Finder | |
# disable writng .DS_Store files | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
# enable writing .DS_Store files | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment