._ file in another OS

It's a pain to browse through a mac-accessed directory from another OS and have to scroll through tons of ._filename files that do what exactly?


Will apple allow Mac user to disable it?

MacBook Air, iOS 12

Posted on Oct 4, 2018 12:11 AM

Reply
2 replies

Oct 4, 2018 2:55 AM in response to chukfong

I don’t think you can disable it.

The .DS_Store files are created by the Finder and used to store the view settings for each folder.

What you can do is create a little script that deletes those files from a certain volume or folder tree.


Here is a very simple one-line Terminal command. Mind you, it nevertheless may take a while to run if the volume or folder has a lot of files and/or subfolders.


find /Volumes/MyVolume -name .DS_Store -exec rm {} \;


Just replace MyVolume by the name of the drive, or type “find “ then drag your drive or folder onto the terminal window and copy and paste the rest (it is all a single line). Press enter, wait for the prompt to appear, then eject your drive.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

._ file in another OS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.