Disable (Prevents) creation of: ._ files and Spotlight

Discussion in 'OS X Yosemite (10.10)' started by Jobs, Steve, Mar 16, 2015.

  1. Jobs, Steve macrumors member

    Jobs, Steve

    Jul 26, 2014
    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
  2. dyt1983, Mar 17, 2015
    Last edited: Jun 2, 2015

    dyt1983 macrumors 65816

    May 6, 2014
    edit: To remove personally identifying information not relevant to the thread.
  3. chown33 Moderator

    Staff Member

    Aug 9, 2009
    There is a way to disable Spotlight indexing of external drives, or really any drive at all. See here:

    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.

    The output of 'ls -l' will also signal the presence of extended attributes. Read its man page and search for the word extended.
  4. pickaxe macrumors 6502a

    Nov 29, 2012
    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$

Share This Page

3 March 16, 2015