Story   Photographer   Editor   Student/Intern   Assistant   Job/Item The Online Resource for Sports Photography

 Front Page
 Member Index
 Latest Headlines
 Special Features
 'Fun Pix'
 Message Board
 Educate Yourself
 Equipment Profiles
 Classified Ads
 Monthly Clip Contest
 Annual Contest
 Current Issue
 Back Issues
 Members Area
 "The Guide"
About Us:
 About SportsShooter
 Contact Us
 Terms & Conditions

Sign in:
Members log in here with your user name and password to access the your admin page and other special features.



|| Member Message Board

Finder-ing locked files in Mac OSX
Andrew Bright, Photographer
Auckland | New Zealand | New Zealand | Posted: 2:21 AM on 01.22.07
->> Does anyone know a quick way to tag files on location and then find them easily later on with a deadline fast approaching?

When I'm shooting motorsport and have just taken a shot I know is The One, the only way I've come up with to be able to identify key pics quickly is to use the "lock" feature on the D200. That seems to be the only way of tagging a pic file as special vs. normal. But when I get to the end of the day and can have 1000+ files, is there any way to quickly, if not instantly locate these key locked files when I look through a normal folder on my Epson Picture Viewer hooked up to my Powerbook running Mac OS10.4? I'm usually not able to import on the fly, standing around the infield.

I haven't found any search menus that can differentiate between locked and unlocked files, nothing in Automator that will filter a locked file, does anyone out there have any ideas? Has anyone written an Automator action that does this? Can Aperture filter locked an unlocked files? Although this isn't really an option given how slow it can be to import 1000 files. I need it NOW, and that means a Finder search.

Until I learn to consistently predict a key moment and nail the shot (meaning I only have 20 to sort through at the end of the day), can anyone offer any advice on how to find these pics in a hurry?
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Anthony Soufflé, Student/Intern, Photographer
Naples | FL | USA | Posted: 4:01 AM on 01.22.07
->> Any file you lock in the camera will show up as a "tagged" file in photo mechanic. Once the folder of pics is open in photo mechanic all you have to do is go to the view menu and click tagged. Then only the photos you locked in the camera (or any you tagged in photo mechanic) will be displayed.
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

George Bridges, Photographer, Photo Editor
Washington | DC | USA | Posted: 9:23 AM on 01.22.07
->> Ditto on PhotoMechanic.

If you are really pressed and don't want to wait for 1,000+ images to display, you can put in a card, tell PM to only ingest tagged images and then you are just looking at your in-camera edit. Then when you have time later you go back and transfer all images to your computer for another edit, archiving etc.
 This post is:  Informative (1) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Greg Ferguson, Photographer
Scottsdale | Az | USA | Posted: 11:30 AM on 01.22.07
->> Andrew, it sounds like you're doing it the hard way by trying to use the OS for your editing.

Most of us use Photo Mechanic. It's been designed with high-volume photographers/photo journalists in mind and can really speed up your work flow. Evaluation copies are available for PC and Mac at the CameraBits site:

You'll also find that the developers for PhotoMechanic lurk in the shadows here to follow our threads and will often contact you directly if you have an issue or suggestion. Kirk and I often trade ideas late at night or on weekends, which attests to his diligence (or maybe craziness).

There's also a significant number who favor Photoshop Bridge (part of CS2) or Apple's Aperture, Adobe's Lightroom or one of the PC programs.

Any of those programs is better than relying on the Finder or Explorer to manage the images.
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Andrew Bright, Photographer
Auckland | New Zealand | New Zealand | Posted: 4:42 PM on 01.22.07
->> Hi Greg,

I've had a look at the Photo Mechanic site and it looks promising, but if I can find an OS solution, that's really what I'm after for this particular (find-that-shot-right-now) problem. I use Aperture, but the import just takes soooooo long, even with compressed Raw files, that a full import isn't an option. Is there a way to import only tagged files with Aperture perhaps? I've looked but can't find anything.

Photo Mechanic is an option, but it's more money to spend and extra software to load and run, which is why I'd really like to find a Finder or Automator filter or action.

Of course the old ballpoint pen, writing filenames down on my inside wrist as I shoot is a cheap and simple Apple/Adobe/Photo Mechanic make ballpoints?!?! :)
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Greg Ferguson, Photographer
Scottsdale | Az | USA | Posted: 11:01 PM on 01.22.07
->> Files you lock in the camera are marked as locked when you view them on the card using Mac OS.

Unfortunately, there doesn't seem to be a fast way to identify those files from the Finder. I think it's possible from Applescript but I don't see anything in Automator after a quick look. I'll look some more, but again, this is one of those things that Photo Mechanic excels at and why we use it.

You might want to check with Vincent Laforet, here on SS. He's a big user of Aperture, and worked with Apple to put together his workflow. He's probably the resident expert at SS.

Otherwise, I'd recommend heading to Apple's website and asking in their Aperture forum, which is where the majority of Aperture users hang out.
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Greg Ferguson, Photographer
Scottsdale | Az | USA | Posted: 12:23 AM on 01.23.07
->> OK, I did some digging...

When you lock a file in the camera the 'uchg' flag is set on a file. If you're shooting RAW with jpg thumbnails then both files will be set. Here's what I get using the "ls -lo" command to look at the files on my CF card after locking one RAW+jpg file.

-rwxrwxrwx 1 greg greg - 3912944 Jan 20 22:04 B9CE0247.TIF
-rwxrwxrwx 1 greg greg - 2211824 Jan 20 22:04 B9CE0248.JPG
-rwxrwxrwx 1 greg greg - 3814864 Jan 20 22:04 B9CE0248.TIF
-rwxrwxrwx 1 greg greg uchg 2134976 Jan 20 22:04 B9CE0249.JPG
-rwxrwxrwx 1 greg greg uchg 3755600 Jan 20 22:04 B9CE0249.TIF

You need to be familiar with the command-line because the commands I used are command-line only. Connect the card reader to your Mac and insert a card with locked files. When it mounts on the Desktop note its name. The CF card I'm playing with uses "EOS_DIGITAL".

Open Terminal, which is in your /Applications/Utilities folder, and then type these into the window...

find /Volumes/EOS_DIGITAL -flags uchg

and press the <Return> key.

You should see the names of images that are locked...

$ find /Volumes/EOS_DIGITAL/ -flags uchg

Find will display the files and the path to them.

An alternate is to use the "ls" command to search the card, have it display the file flags, use grep to select the files containing the 'uchg' flag, and then have awk only print the file names...

[Mon Jan 22 22:22:28] [greg@8SIiBook.local] [Path: ~]
$ ls -Rlo /Volumes/EOS_DIGITAL/ | grep ' uchg ' | awk '{print $10}'

Where you go from there is up to you.
 This post is:  Informative (0) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Andrew Katsampes, Photographer
Melrose | MA | USA | Posted: 11:00 PM on 03.31.13
->> I have written an AppleScript which as it copies images/files from compact flash to the hard drive will rename the "locked" files. It works, but it is as you copy ALL the images/files, so performance could be a problem for Andrew Bright.
BUT ...
As I was working on this I came across the Ingest function/feature of PhotoMechanic. This allows you to ingest/copy ONLY those images/files that are locked. This means that if the compact flash has 900 files and 10 are locked, at the end of the ingest, the target folder will have only 10 images/files. I have no idea how fast it processes the 900 files, but even if it was 15 minutes that would be great. During those 15 minutes, I would visit the bathroom, get a cup of coffee, get a snack, pack up some of my equipment, and then be ready for the ingest to complete and the desired images isolated. Not only can PhotoMechanic Ingest locate these images, but it can apply IPTC data to the images. In my plan the applied IPTC would be generic for the event (time, date, location, photographer name, website urls, and keywords.
My 15 minute estimate for 900 images is only a guess. ... So I ran a test.
MACBook Pro, 2.33 GHZ, OS X 10.6.8, Firewire 800, 4G San Disk Ultra II (15Mb/sec), with 275 images (14M images/files), of which 8 are locked. It took 12 seconds. 15 minutes estimate may be high. For the same configuration my AppleScript took 5 minutes. An important difference is that the PhotoMechanic Ingest only copied 8 files whereas my AppleScript copied all 275 images and isolated the 8 locked images.
In summary, you should try PhotoMechanic Ingest. Oh, PhotoMechanic is version
 This post is:  Informative (1) | Funny (0) | Huh? (0) | Off Topic (0) | Inappropriate (0) |   Definitions

Add your comments...
If you'd like to add your comments to this thread, use this form. You need to be an active (paying) member of in order to post messages to the system.

NOTE: If you would like to report a problem you've found within the website, please let us know via the 'Contact Us' form, which alerts us immediately. It is not guaranteed that a member of the staff will see your message board post.
Thread Title: Finder-ing locked files in Mac OSX
Thread Started By: Andrew Bright
Member Login:

Return to -->
Message Board Main Index
What's in YOUR bottom band? ::..