Created
August 26, 2013 20:09
-
-
Save hackingbutlegal/6346047 to your computer and use it in GitHub Desktop.
Find .DS_Store files recursively, stop them from happening on external volumes (run second command as the specific user)
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
| find . -name '*.DS_Store' -type f -delete | |
| # Run this command as the user | |
| defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
| # Now can copy com.apple.desktopservices.plist files to other /users/<username>/library/preferences |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment