in Code Snippets, Hacking

Cleanup OS X crap on network drive

find . \( -name ".DS_Store" -or -name ".Trashes" -or -name "._*" -or -name ".TemporaryItems" \) -print

Check if the print is correct. When the file can be deleted. replace '-print' with '-delete'

Prevent ._ file creation (samba config)

[share-name]

  veto files = /._*/.DS_Store/
  delete veto files = yes