Which original did the client pick?
A gallery sends back DSC_0042.JPG. Two shoot folders each contain DSC_0042.dng. Before retouching, confirm which folder supplied the proof.
Use a local filename list and a folder of camera originals. The matcher preserves the client’s selection order and shows every candidate for a repeated stem.
Start with the unresolved handoff
Unzip the practice pack. It contains four synthetic DNGs in two folders, a fictional JPG list and a reviewed CSV. Open a terminal in the unzipped folder and run this command with Python 3. On Windows use py -3 in place of python3.
python3 match_favorites.py mismatched.txt fictional-originalsOpen review.csv in the new review folder printed by the command. These are the three results.
| Favorite | Result |
|---|---|
| DSC_0042.JPG | Ambiguous. Studio and Tabletop each contain an original. |
| DSC_0091.jpg | Matched to Studio/DSC_0091.dng. |
| DSC_0999.jpg | Missing. Check the approved list before delivery. |
Open the reviewed picks in order
In the reviewed example the client now wants 0091 first, followed by the Tabletop 0042. The missing pick has been withdrawn. Run the reviewed file.
python3 match_favorites.py reviewed.csv fictional-originalsOpen the resulting retouch.gqv with Geeqie on the same Linux computer. The collection contains exactly two originals in the requested order. The Studio copy of 0042 stays outside the collection. Open review.csv in Sheets, Calc or your spreadsheet editor to read the same mapping.

Each run produces a new local review folder. An unresolved row holds back the collection. A repeated favorite remains a separate review row, while its chosen original appears once in Geeqie.
Use your own gallery list
- In Pixieset, copy the favorite filenames. Save the comma-separated list or one filename per line as UTF-8 text. You can also export a Sheets CSV headed
favorite,original. Leave the second column empty for a first pass. - Run the same command with your list and the parent folder containing your shoot folders. Quote paths that contain spaces. The program reads directory entries and writes its reports locally.
- Review ambiguous candidates against the gallery and your shoot notes. In
resolve.csv, paste the exact chosen relative path intooriginal. Correct missing picks in the gallery list. Run this CSV again before opening the collection.
Matching ignores case and camera/JPG extension, and otherwise keeps the exact stem. Renamed gallery exports need their original mapping. Local reports include filenames and folder paths. Keep them private when they identify a shoot. The collection uses absolute POSIX paths; rerun after moving the originals. The CSV works across platforms.