Skip to main content
Inspiring
Nov 13, 2016 7:31 PM UTC
Answered

How to recover original Filename?

Hi guys,

Having renamed a file I sometimes need to find out the original file name so as not to delete its master by mistake - if the renamed file is a copy, or if it's a master to a copy used elsewhere. I think you get my point.

Thanks a lot,

Raphael

Per Berntsen
Per BerntsenCorrect answer
Community Expert
Nov 13, 2016 11:06 PM UTC

In the Metadata panel there is a field below File Name called Original Filename.

It¨s visible when Metadata is set to Exif and IPTC.

5 replies

Participant
Jun 4, 2025 12:42 PM UTC
👍
Translate
Participant
Aug 29, 2024 7:51 AM UTC

You can create script for restoring Original filenames (it will recover it from metadata):
For script creation use text editor or code editor like "Visual Studio Code", paste code bellow and save it in .jsx format.

var selectedItems = app.project.selection;

for (var i = 0; i < selectedItems.length; i++) {
    var item = selectedItems[i];
    if (item instanceof FootageItem && item.file !== null) {
        var originalFilename = item.file.displayName;
        item.name = originalFilename;
    }
}

 
In After Effects do to File - Scripts - Run Script File - and open file script you just created.

Translate
john beardsworth
Community Expert
Community Expert
Aug 29, 2024 11:16 AM UTC

This is not relevant to Lightroom Classic.

Translate
Per Berntsen
Community Expert
Per BerntsenCommunity ExpertCorrect answer
Community Expert
Nov 13, 2016 11:06 PM UTC

In the Metadata panel there is a field below File Name called Original Filename.

It¨s visible when Metadata is set to Exif and IPTC.

Translate
Inspiring
Nov 17, 2016 2:14 AM UTC

Indeed! Thanks a lot Per.

Translate