._ prefix files.

Discussion in 'Mac Basics and Help' started by bombertaylor, Nov 30, 2012.

  1. macrumors newbie

    Joined:
    Nov 23, 2010
    #1
    Hi everyone,

    I just bought a new mp3 player and I transfered some mp3 files from my Mac. My Mac keep auto generated these duplicated files with ._ prefix. I tried to play my music but every times it encounter those files it keeps crashing.

    Is there any ways to stop my Mac from generated those files when I do transfering ? If not how do I delete those when they all hidden.

    Thank guys
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    The simplest way to do this if you lack a program that can automatically fix this, such as using BetterZip to archive the files with the "remove Mac stuff" option, then unarchiving, then transferring, is the good old Terminal: the zip command can help you here. It does the same thing as BetterZip - stripping out all the ._ junk - but without a fancy GUI.
     
  3. thread starter macrumors newbie

    Joined:
    Nov 23, 2010
    #3
    Thank wrldwzrd89, can you do step by step instruction how do the zip command. I am pretty newbie when it comes to MAC OS.
     
  4. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
    The steps are actually pretty simple:
    1. Open Terminal.
    2. Type "cd " (that space at the end is important).
    3. Drag the folder to be processed to the Terminal window, which causes its path to be inserted.
    4. Press Return to execute that command.
    5. Type "zip -r filename.zip *" and press Return again.
    6. Replace filename with whatever you want the zip archive it creates to be called.
    7. You'll see a bunch of output as the zip tool does its thing.
    8. Once it finishes printing stuff, quit the Terminal.
    9. Navigate to the folder you dragged into the Terminal earlier in the Finder.
    10. You'll see a zip archive in there. Move it somewhere else, then double-click to extract its contents.
    11. Once the extraction completes, perform the transfer as usual with the folder that was created when you extracted the zip file.
     
  5. thread starter macrumors newbie

    Joined:
    Nov 23, 2010
    #5
    I am doing it right now but the terminal keep doing "adding: " stuff. I have been waiting forever for it to finish. I dont know what I did wrong after step 5 Type "zip -r filename.zip * .

    And how to abort the command while it's doing it ?

    Thank
     
  6. wrldwzrd89, Dec 2, 2012
    Last edited: Dec 2, 2012

    macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #6
    Press Ctrl+C to abort it.

    EDIT: Found a better way. See here: http://www.macupdate.com/app/mac/31893/zap-resource-forks.action
     

Share This Page