I’m browsing my mediashare via CIFS/SMB, and also from my Mac.
The Mac creates some temporary folders and files everywhere, which aren’t visible on the Mac but are there when I browse in XBMC. Quite annoying. Removing them won’t help as they reappear, so figured I’d hide them instead.
This is accomplished by adding the following line to smb.conf and restarting samba.
veto files = /.AppleDB/.AppleDesktop/.AppleDouble/.TemporaryItems/._.TemporaryItems/Network Trash Folder/Temporary Items/