PHP Scripts that matches LR meta data to local files and renames them
Find a file
Dennis Koch 615e189a2a Update README.md
Updated broken link
2017-05-12 18:17:58 +02:00
exiftool.exe Add files via upload 2017-05-12 17:44:17 +02:00
LICENSE Update LICENSE 2017-05-12 17:47:10 +02:00
lr-transporter-rule.txt Add files via upload 2017-05-12 17:44:17 +02:00
match.php Add files via upload 2017-05-12 17:44:17 +02:00
README.md Update README.md 2017-05-12 18:17:58 +02:00
rename.php Add files via upload 2017-05-12 17:44:17 +02:00
screen.gif Add files via upload 2017-05-12 17:44:17 +02:00
Summary.txt Add files via upload 2017-05-12 17:44:17 +02:00

Lightroom Filematcher

I wrote these scripts for personal use but maybe they are helpful for other people too. You need a local running server with php for these scripts.

Introduction

When files are lost and recovered by software like "PhotoRec" the filenames are not restored. Therefore Lightroom can't link the files with them in the catalogue. These scripts help to link the files with Lightroom again.

rename.php

This script renames your according to the File Index in the Exif data. If your camera stores the file index inside the Exif data this is the easiest way to go. Just adjust the path to the folder containing your files and your file prefix.

match.php

This script tries to match the files in the specified folder with the meta data from Lightroom. To extract the exif it uses the tool exiftool. It compares aperture, shutterspeed, iso and date. If there are multiple files to choose from, it lets you select them before renaming supporting you with a thumbnail of the photo.

To retrieve the needed meta info you need the LR Transporter Plugin. Set the settings to "Shared info file" and use the pattern from the "lr-transporter-rules.txt" file. Don't forget the new line at the end.

Screenshot