Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 21 Jan 2011 (Friday) 00:52
Search threadPrev/next
sponsored links (only for non-logged)

Search for RAW files by lens or even focal length

 
macroimage
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 21, 2011 00:52 |  #1

I'm trying to find all of the raw files that were taken with my EF 135mm f/2.8 SF lens to find a specific photo that I would like to process from a few years ago. There are tens of thousands of photos to go through.

Is there a software tool that would easily search by lens type or even just focal length?

Do I need to write a script to run exiftool on each file and let it recurse the folders for a few days and save the paths to the files?


Photo Gear

  
  LOG IN TO REPLY
FlyingPhotog
Cream of the "Prop"
Avatar
57,560 posts
Likes: 178
Joined May 2007
Location: Probably Chasing Aircraft
     
Jan 21, 2011 01:13 |  #2

Lightroom is capable of such a search...


Jay
Crosswind Images (external link)
Facebook Fan Page (external link)

"If you aren't getting extraordinary images from today's dSLRs, regardless of brand, it's not the camera!" - Bill Fortney, Nikon Corp.

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,497 posts
Likes: 213
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Jan 21, 2011 02:05 |  #3

If you are running Windows, Explorer can do it if you point it at a photo folder. In the Details view right-click on the details bar, select More and from a long list select such attributes as Exif-Lens, Canon-Lens or Jpg-Lens.

But as said above, after you have imported all your photos LR will search all of them.


Elie / אלי

  
  LOG IN TO REPLY
macroimage
THREAD ­ STARTER
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 21, 2011 02:27 |  #4

Thanks for responding. Unfortunately I only have Windows XP Pro. It has many optional columns such as camera model, but not anything with the lens, or even the focal length. Also it only shows extra info for JPGs and Tiffs, not CR2 raw files. Windows search won't do it either.

I have Photoshop CS2 with Bridge but this version of Bridge won't search by EXIF tags unfortunately.

I don't have Lightroom but I'll look into seeing if there is a demo that I could use for this project and then remove after.


Photo Gear

  
  LOG IN TO REPLY
tonylong
...winded
Avatar
54,657 posts
Gallery: 60 photos
Likes: 571
Joined Sep 2007
Location: Vancouver, WA USA
     
Jan 21, 2011 02:54 |  #5

What are you using to process your Raw files? I'm checking out the Canon software and can't find anything there to help do a "filter by lens" the way Lightroom does.


Tony
Two Canon cameras (5DC, 30D), three Canon lenses (24-105, 100-400, 100mm macro)
Tony Long Photos on PBase (external link)
Wildlife project pics here (external link), Biking Photog shoots here (external link), "Suburbia" project here (external link)! Mount St. Helens, Mount Hood pics here (external link)

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,497 posts
Likes: 213
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Jan 21, 2011 02:56 |  #6

Strange, I have XP Home and it does CR2s also, but maybe that is because an applet that I have for putting CR2 thumbnails and exif into Explorer gives it that ability also.


Elie / אלי

  
  LOG IN TO REPLY
macroimage
THREAD ­ STARTER
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 21, 2011 03:03 |  #7

tonylong wrote in post #11683782 (external link)
What are you using to process your Raw files? I'm checking out the Canon software and can't find anything there to help do a "filter by lens" the way Lightroom does.

I use DxO Optics Pro for raw files. It doesn't have the ability to search this way. I've also tried Photoshop CS2 Bridge search, XnView search (almost works), Windows Explorer, Locate32, and Canons DPP and Zoombrowser. I just downloaded GIMP to see if it does it. It appears that ACDSee might and it isn't expensive.

tzalman wrote in post #11683791 (external link)
Strange, I have XP Home and it does CR2s also, but maybe that is because an applet that I have for putting CR2 thumbnails and exif into Explorer gives it that ability also.

I even loaded the current Canon RAW codec into windows but it doesn't seem to add any functionality to Windows. Microsoft used to have a RAW viewer for Windows available that added some things. I should look to see if that is still available.


Photo Gear

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,497 posts
Likes: 213
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Jan 21, 2011 03:08 |  #8

I'm not at home now where I have a bookmark for that applet, if you are interested, but I posted about it last week so I should be able to find that post in a couple minutes.


Elie / אלי

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,497 posts
Likes: 213
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Jan 21, 2011 03:12 |  #9

Here it is:

https://photography-on-the.net …hp?p=11630609&p​ostcount=3


Elie / אלי

  
  LOG IN TO REPLY
macroimage
THREAD ­ STARTER
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 21, 2011 03:14 |  #10

Thanks, I'll give that a try.


Photo Gear

  
  LOG IN TO REPLY
Paul ­ MR
Member
63 posts
Likes: 2
Joined Nov 2010
     
Jan 21, 2011 06:10 as a reply to  @ macroimage's post |  #11

You can use Bridge to find your files.
Using ExtendScript Toolkit you could run the following code, make sure you change the LensToFind first, a text file will be created on the desktop with the results.
I have just tried it with 10,000+ files and 80+folders deep and it took 10 seconds on my laptop.


#target bridge
function getLensInfo(){
var Loginfo = new File(Folder.desktop + "/Lens Found.txt");
Loginfo.open("w", "TEXT", "????");
$.os.search(/windows/i​) != -1 ? Loginfo.lineFeed = 'windows' : Loginfo.lineFeed = 'macintosh';
var folders =[];
var topLevel = Folder.selectDialog("P​lease select top level folder");
folders = FindAllFolders(topLeve​l, folders);
folders.unshift(topLev​el);
//change lens info to suit
///////////////
var LenstoFind = "75.0-300.0 mm";
///////////////
for(var z in folders){
var fileList= Folder(folders[z]).get​Files(/\.(jpg|tif|psd|​crw|cr2|nef|dcr|erf|ra​f|orf|mrw|mos|srf|pef|​x3f|raw)$/i);
for(var a in fileList){
if(!fileList[a] instanceof File) continue;
var Thumb = new Thumbnail( fileList[a] );
var md = Thumb.synchronousMetad​ata;
app.synchronousMode = true;
var Lens ='';
md.namespace = "http://ns.adobe.com/e​xif/1.0/aux/";
Lens =md.Lens;
if(Lens == LenstoFind) Loginfo.writeln(decode​URI(fileList[a]));
}
}
Loginfo.close();
alert("All Files Processed");
}
function FindAllFolders( srcFolderStr, destArray) {
var fileFolderArray = Folder( srcFolderStr ).getFiles();
for ( var i = 0; i < fileFolderArray.length​; i++ ) {
var fileFoldObj = fileFolderArray[I];
if ( fileFoldObj instanceof File ) {
} else {
destArray.push( Folder(fileFoldObj) );
FindAllFolders( fileFoldObj.toString()​, destArray );
}
}
return destArray;
}
getLensInfo();



  
  LOG IN TO REPLY
macroimage
THREAD ­ STARTER
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 22, 2011 02:52 |  #12

Thanks,

I didn't know that Bridge was scriptable.


Photo Gear

  
  LOG IN TO REPLY
Paul ­ MR
Member
63 posts
Likes: 2
Joined Nov 2010
     
Jan 22, 2011 03:14 as a reply to  @ macroimage's post |  #13

Yes Bridge is highly configurable via scripts and there is a lot you can do, for more info..
http://ps-scripts.com …f7c5747c04a8083​5ce68d8169 (external link)
or
http://forums.adobe.co​m …y/bridge/bridge​_scripting (external link)




  
  LOG IN TO REPLY
macroimage
THREAD ­ STARTER
Goldmember
2,169 posts
Likes: 2
Joined Aug 2007
     
Jan 22, 2011 03:26 |  #14

Thank you very much for that. I updated my ExtendScript version from 1.0.0 to 1.0.3 and then adjusted the script. This is working excellently. The only thing I can remember about the photos that I am looking for is that I took them with the EF 135mm f/2.8 SF lens. I don't remember when I took them, what they were named, or even which camera body.


Photo Gear

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

3,236 views & 0 likes for this thread, 5 members have posted to it.
Search for RAW files by lens or even focal length
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Mihai Bucur
1404 guests, 164 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.