Skip to main content
FotoVerbeke
Participant
Oct 1, 2024 6:35 PM UTC
Question

Linking files

I have a library with processed images. Unfortunately the file names have changed. Is there a way to link the files without having to do this file by file (more then 1000 images)

This topic is closed to new replies. Start a new post to keep the conversation going.

15 replies

FotoVerbeke
Participant
Oct 2, 2024 4:41 PM UTC

I always do the original renaming in lightroom. The question is, do the recovered new files contain the original name ? And how can I link the files based on the original name ?

Translate
dj_paige
Legend
Oct 2, 2024 4:48 PM UTC
quote

I always do the original renaming in lightroom. The question is, do the recovered new files contain the original name ? And how can I link the files based on the original name ?


By @FotoVerbeke

 

Hi, so you did the renaming in LrC? Then you should not have to re-link the files at all. So I am confused, what is the problem?

 

What "recovered new files" are you talking about in the context of this topic? This is the first time you have mentioned "recovered new files", please explain this further.

Translate
FotoVerbeke
Participant
Oct 2, 2024 7:51 PM UTC
The files got renamed by mistake by an external tool. The wrong path was passed to a renaming tool 😒
Translate
Legend
Oct 2, 2024 3:37 PM UTC

Have you tried a Synchronize Folder operation? This will remove old entries and add files that aren't in the database.

https://helpx.adobe.com/lightroom-classic/help/create-folders.html

Translate
dj_paige
Legend
Oct 2, 2024 4:12 PM UTC

I would definitely avoid synchronize folders. The photos in the catalog that don't exist in the folder, because the file names have changed (which is all photos), will be removed from the catalog, and their edits and user-provided metadata will also be gone. I don't see how this helps. It sounds to me like this makes things worse.

Translate
Legend
Oct 2, 2024 4:42 PM UTC

I write all changes to XMP, and of course any changes to files with internal metadata are already in the files. The OP would lose collections and such but not core file data.

There is not AFAIK any file checksum or other data written to the database, this would take forever and use a huge amount of disk space.

OP, I guess it depends on what you mean by processed photos. Are these RAW files? DNGs? PSD files? What kind of processing? Do you have a backup (Time Machine maybe?) with the original files?

Translate
dj_paige
Legend
Oct 1, 2024 11:24 PM UTC

If the file names were changed outside of LrC (in your operating system, or via some other third party software) then there really is no other way than file by file.

Translate
Rob_Cullen
Community Expert
Community Expert
Oct 2, 2024 1:29 AM UTC

Is it possible you can again rename them to their original filenames? - Using Finder or a Mac rename app. (Perhaps the original camera filename is embedded in your re-named files).

Do you have backups of the camera originals that you can copy and paste over the renamed files?

 

Translate
Regards. My System: Windows-11, Lightroom-Classic 15.6, Photoshop 27.8, ACR 18.7, Lightroom 9.4, Lr-iOS 10.4.0, Bridge 16.0.3 .
Participant
Oct 2, 2024 3:27 PM UTC

When I imported them into lightroom, I renamed them with a counter trailer, so it's in fact completely arbitrary.
Doesn't Lightroom keep a hash of the photo in his catalogue (that maybe is used to avoid duplicates )? If yes then I could write some scripting to - based on that hash - rename the 'new' ones programmatically

Translate