Skip navigation

Removing resource forks from photos and videos etc.?

1216 Views 14 Replies Latest reply: Jul 29, 2013 2:55 AM by Ian R. Brown RSS
Ian R. Brown Level 6 Level 6 (17,495 points)
Currently Being Moderated
Jul 25, 2013 2:13 AM

A couple of years ago I was recommended to use BlueHarvest or ZapResourceForks to remove the duplicate "thumbnail" images I was getting when playing photos on an SD card inserted into my Sony TV.

 

I am now using Mountain Lion and ZapResourceForks does not appear to work on anything past Snow Leopard.

 

I have downloaded the 30 day demo of BlueHarvest which works perfectly but for my occasional needs I can't justify the $15 cost.

 

Is there any free method of doing the job in ML ?

iMac, OS X Mountain Lion (10.8.4), Little knowledge... many opinions.
  • Z_B-B Level 2 Level 2 (160 points)

    Hello,

     

    I do not know but Maybe this will help you > >

     

    http://www.duplicatephotocleaner.com/features

  • Barney-15E Level 7 Level 7 (33,395 points)

    You can run a utility (in Terminal) called dot_clean on the SD card to remove the ._ files.

    You would use the -m option to remove the ._ files instead of merging them.

    dot_clean -m /Volumes/SD\ Card\ Name
    

    You could create a Service in Automator so you could right-click on the SD card and select "Clean" from the Services submenu.

     

    Screen Shot 2013-07-25 at 6.27.50 AM.png

    I used this method to clean them off a USB stick I used to plug into my car stereo.

  • Barney-15E Level 7 Level 7 (33,395 points)

    For the Automator Service, Open Automator and Select Service as the type of workflow.

    At the top, set it to receive Folders in Finder

    From the Library at the left, under utilities, drag a Run Shell Script action into the workflow pane (right side).

    Set the Run Shell Script action to Pass Input: As Arguments.

     

    Replace the text of the workflow with this:

    dot_clean -m "$@"
    

     

    Save it with a short, useful name.

    When you right-click on a Folder, the name you chose will appear in the Services submenu of the contextual menu. You can also access it from the <Application menu>>Services menu.

    Mac mini (Late 2012), OS X Mountain Lion (10.8.3)
  • Jeffrey Jones2 Level 6 Level 6 (8,425 points)

    Where are you getting these resource forks in the first place? Very few applications add resource forks. They've been archaic for years.

  • BeebarbX Level 1 Level 1 (55 points)

    @Jeffrey Jones2

    Maybe so, but even now the system still uses them to store data that Windows doesn't understand, such as:

     

    - Spotlight Comments

    - Label

    - Stationary Pad State

    - Hidden/Shown extensions per-file setting

    - Per-file Open With selected application

    - Custom Icon

     

    There are many more possible reasons, I've even had downloaded *.exe files have resource fork dot files when I copy them to a flash drive to put on my Netbook (which ironically has such a bad Wi-Fi receiver it doesn't work with any network).

  • Jeffrey Jones2 Level 6 Level 6 (8,425 points)

    That information is stored in "extended attributes". It is not stored in the resource fork. Extended attributes are put into "dot" files when you copy the file to a non-HFS file system. A resource fork is one example of an extended attribute, but not the only one. None of the metadata you listed is stored in a resource fork.

  • Barney-15E Level 7 Level 7 (33,395 points)

    Jeffery Jones has already hit on this, but the ._ files are the metadata files. A movie file on its own will not have the ._ files. They only appear when you copy the file over to a file system that cannot handle the extended attributes of HFS+ file system. So, the dot_clean utility will only find and remove those files once they are transferred over to another hard drive formatted with something like FAT32.

     

    So, there is no point in running it on a movie file as it doesn't have ._ files.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.