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

    Joined:
    Jul 26, 2014
    #1
    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

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #2
    edit: To remove personally identifying information not relevant to the thread.
     
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3
    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
     
  4. pickaxe macrumors 6502a

    Joined:
    Nov 29, 2012
    #4
    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