Problem copying files

Discussion in 'macOS' started by mgirg, Aug 14, 2008.

  1. mgirg macrumors regular

    Joined:
    Mar 19, 2008
    #1
    Please forgive me for posting a new thread in a different forum but i have had no replies in over a month and i really need the help.

    here is my problem:

    I am a new Mac owner and i have encountered a problem copying files. Frequently when i copy files to an external hardrive/thumb drive/ sd card/mp3 player etc when i then look at the files on a non mac os system - i find that frequently my mac has copied he files and then made little files starting with .- and then the filename of the file i copied(eg if the file is called file1.mp3 i will get that file and a file called .-file1.mp3). Now it doesnt happen all the time and these extra files are invisible when i plug the drive back into my mac, but are very annoying when using the drive/sd card in a non mac system. Can anyone tell me:

    1. what these files are,
    2. why they occur
    3. How i can stop them from occuring
    4. How i can make them visible when pluging my drive into my mac (so i can delete them easily)

    thanks

    Mike
     
  2. Makosuke macrumors 603

    Joined:
    Aug 15, 2001
    Location:
    The Cool Part of CA, USA
    #2
    They are "metadata" and/or "resource forks." The former, which also includes any .DS_Store files, store information about the file, such as its position in the window in the Finder, comments, label colors, etc.

    Resource forks, which would be one thing stored in the ._Filename files, are additional file data stored in a different way in the filesystem. In the WAY back era, many files had resource forks that were an integral part of what they stored. OSX has moved strongly away from them, such that I no longer know of any modern app that creates files with anything in the resource fork.

    If you had a file with a necessary resource fork, deleting the ._file would essentially break it. In practice, most current stuff has nothing useful there, so deleting those files might remove some Finder info, but the file is 100% fine.

    On network volumes there is a (hidden) preference to stop the creation of .DS_Store files, but this doesn't help with USB drives and such. I know of no way to stop their creation, but there are a number of apps, some free, that will automatically delete them for you; try searching on VersionTracker.com or MacUpdate.com for DS_Store or "invisible files" or something of the sort, and poke through what you get.

    As above, there are a number of utilities, some free, that will tell the Finder to show invisible files. Invisibility Toggler is one, and I believe the popular Cocktail can do this, too.
     
  3. mgirg thread starter macrumors regular

    Joined:
    Mar 19, 2008
    #3
    Thank you so much for your help. I have had a look on macupdate and will try out a couple of the programs.
     
  4. PCL0v3r macrumors newbie

    Joined:
    Jan 21, 2009
    #4
    ._files ghost files show up on Win Server

    I have a windows server with all PC's running happily together. A mac user recently joined the team and we were having issues with duplicated ghost ._files showing up on our server. The mac could not see these files only the PC users could see them.

    Yes you can always turn these off (don't show hidden files using Explorer) but this does not resolve the issue.

    The solution we found - thought I would share as I spend 2 days trying to find and answer and it seems that a lot of people have the same issue. It through software called Dave.

    http://www.thursby.com/products/dave.html

    This resolved the problem right away.

    I'm not sure at this stage this there is a free way to do this ... if I find it I will be sure to post. But if you are running a business and need to resolve this issue it may just be worth spending the $ (about $170 for 1 year with tech support and upgrade capabilities).

    Hope that helps someone out there with the same issue.:cool:
     

Share This Page