New answers tagged smb
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. ...
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
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.
As far as I know you can not prevent that these files will be created. At least the Finder will create them. Deleting these files will not help too - because the next time you access the volume and its folders on Mac, the Finder will create them again. I am astonished that your Windows colleagues see these files. I am working for many years now with my Mac ...
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 ...
Top 50 recent answers are included