Skip to content

Instantly share code, notes, and snippets.

@hackingbutlegal
Created August 26, 2013 20:09
Show Gist options
  • Select an option

  • Save hackingbutlegal/6346047 to your computer and use it in GitHub Desktop.

Select an option

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)
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