Bridge: How can I search Collection A and Collection B in Bridge for Common Files

  • 1
  • Question
  • Updated 1 year ago
  • (Edited)
I have a file of several hundred images from which I chose images and put them into Collection A and my partner did similar and put hers into B. Now, is there a way to select only those images which exist in both collections? Do I need to use a script?
Bridge cc2015.5, Win 7 64
Photo of Lawrence Hudetz

Lawrence Hudetz

  • 38 Posts
  • 1 Reply Like

Posted 2 years ago

  • 1
Photo of Ann Shelbourne

Ann Shelbourne

  • 149 Posts
  • 109 Reply Likes
If you select all the files in Collection A and drag them into Collection B, only the files which were not already in "B" will get added to "B". There won't be any duplicated items.

Alternatively, you could create Collection "C" and drag-copy all items from "A" and "B" into "C".
(Edited)
Photo of Paul Riggott

Paul Riggott

  • 359 Posts
  • 142 Reply Likes
You still will not know which files were in both collections, the way to go is a script to compare and create another collection.
Photo of Paul Riggott

Paul Riggott

  • 359 Posts
  • 142 Reply Likes
I have just wrote a Bridge script to do this and can be downloaded from...
http://wikisend.com/download/882012
Goto Bridge Preferences - Startup Scripts
Click the button Reveal My startup Scripts
Unzip the file in this folder.
Restart and accept the new file.
To use: Tools - Compare Collections
Select the two collections and press process.
A new collection will be created with names of the selected collections.
Photo of Lawrence Hudetz

Lawrence Hudetz

  • 38 Posts
  • 1 Reply Like
Hi Ann, Paul. Thanks to both for a speedy response. Paul's perspective is exactly right, what files are common to both of us. I'll give it a try Paul. ..
Photo of Dan Hartford

Dan Hartford

  • 121 Posts
  • 50 Reply Likes
Option 1

A) make sure both the A and B collections have names that include text that is not likely to be anywhere else in LR. Let's say your collection is  "Grand Canyon Larry" and your wife's is "Grand Canyon Mary".  Add the word "LLLLLLL" to the end of your collection name and "MMMMMMM" to the end of her collection name.  

B) Create Smart collection with two rules.  Match ALL,  Any searchable text contains "LLLLLLLL" and Any Searchable text contains "MMMMMMMM".

This smart collection will only show images that are in both the A and B collections.


Option 2:  

Create two keywords, let's call them "hers" and "Mine".  Assign KW "Mine" to all images in your collection and KW "Hers" to all KW's in her collection.  Create a Smart Collection with Match All, Keywords start with "Mine" and Keywords start with "Hers".   That smart collection will then only have images which are in both.  Next week, when you have same issue with collections C & D, just redo the keywords part.

Hope that helps
Photo of Lawrence Hudetz

Lawrence Hudetz

  • 38 Posts
  • 1 Reply Like
I ran the script and it worked splendidly. Good job, Paul.

 No need to fuss with the files since each file is unique in it's own right...the sequence number.  And, since we are in Bridge, there is no problems searching which might accrue LR as Bridge is not a data base.

OT: I got only one e-mail notification of an answer to this query, when Ann first posted. Subsequent postings have no additional notifications. I know of them because I bookmarked, in Firefox, my initial post . It's the only way of assuring I see the entire post in a timely manner, other than doing a detailed search in PF .  I've noticed this in the past. New posts wind up in limbo really fast.

I guess I'm missing something here, but really, no other problems of this type occur in any other forums in which I participate. They all continually forward notifications. I have to take an action to stop them and not to continue notifications. Word Press, which I have used, is a good example.

Thanks to all who responded!

-L
Photo of PECourtejoie

PECourtejoie, Champion

  • 792 Posts
  • 283 Reply Likes