Hot answers tagged smb
I have not tried this myself, and I realize the OP prefers native solutions, but nonetheless: There's an app called Asepsis that works by redirecting creation of those files into a special folder, i.e. in a way preventing them from appearing.
I've found the solution. Two commands are needed in sequence: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist EnabledServices -array disk
The ._ files are AppleDouble files that are used to store metadata like extended attributes, ACLs, file flags, and resource forks. To delete them, run: find . -name ._\* -delete You can see if files have extended attributes, ACLs, or file flags with ls -l@eO. The ._ files are usually created because files have extended attributes. You can use xattr -c to ...
I will admit, I hadn't noticed that the defaults write command stopped working in Mavericks. However, when I DO clean network mounts, instead of your one liner find and rm, I use this: dot_clean . The manfile explains: dot_clean -- Merge ._* files with corresponding native files. I don't use the -m flag, but you may find it helpful in your situation. ...
Only top voted, non community-wiki answers of a minimum length are eligible