.DS_Store
You're viewing a single thread.
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
Helps a bit.
you can also delete them recursively with
find . -name '*.DS_Store' -type f -print -delete
(adapted from this script)
Why is there a * in front of DS_Store? Seems like fastly made a small mistake find . -name '.DS_Store' -type f -print -delete would just match the exact file and is faster.
*
DS_Store
find . -name '.DS_Store' -type f -print -delete
Don't forget:
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true