Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jobs, Steve

macrumors member
Original poster
Jul 26, 2014
37
3
I got some usb keys I always use between my MacBook, my Windows pc and sometimes on my Linux partition.

I really HATE that everytime i just COPY 1 file on my usb drive OSX create a "._" file.
Why?? I don't want them!!!

If i copy "Music.mp3" on my usb to listen in my car, when I want to play it my car system shows me "._Music.mp3" and "Music.mp3" (the real one). :confused:

I don't want to go through my Windows installation to clear my usb everytime I copy something from my Mac... :(

Is there a REAL and WORKING WAY and to disable the "._" creation and PERMANENTLY disable Spotlight?? (even on usb only)
I'm on Yosemite 10.10.2
 

chown33

Moderator
Staff member
Aug 9, 2009
10,999
8,887
A sea of green
There is a way to disable Spotlight indexing of external drives, or really any drive at all. See here:
https://discussions.apple.com/thread/5486948

Found by googling permanently disable Spotlight.

I don't know if this is really what the OP wants or not. He/she seems to think the ._ files are related to Spotlight, but they aren't. So if the real goal is elimination of those files, then disabling Spotlight on the external drive won't affect those files at all.


Incidentally, the ._ file holds more than just the resource fork. It also holds Finder-info (e.g. the tag color), and all the file's extended attributes. Tags are extended attributes, as are other things like a non-default text-encoding. The command line tool xattr can be used to list and examine these.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xattr.1.html

The output of 'ls -l' will also signal the presence of extended attributes. Read its man page and search for the word extended.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ls.1.html
 

pickaxe

macrumors 6502a
Nov 29, 2012
760
284
I would have recommended BlueHarvest, as it does what you want sorta well (detection rate is not 100% in my experience) but the developer has recently decided to silently abandon the Lite version, and only offer the full version at 14.99$
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.