One-liner for adding veto files to samba
for SHARE in $(net conf listshares); do net conf setparm "$SHARE" 'veto files' '/.DS_Store/'; done;
Good to have when you have lots of shares, and lots of Mac users creating .DS_Store files everywhere they go …










