Skip to main content
Known Participant
May 29, 2024
Answered

Export with custom filename prefix?

  • May 29, 2024
  • 2 replies
  • 676 views

Hi, all. I am using the new desktop LR (Local) to cull and do RAW edits. I would like to have my edited files exported with the suffix of edit_(filename). I'm guessing at this point the answer is no, but is there a way to do this? Right now, I am exporting to PS and giving the name I want there, but it would save time to be able to add the edit_ prefix within LR.

 

Thanks.

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

You can't rename the originals in Lightroom, but when you export an image you can give the exported image a different name. https://helpx.adobe.com/lightroom-cc/using/save-share-photos.html

 

2 replies

Participant
November 16, 2024

 

The Export for Screens feature in Illustrator defaults to the last used prefix, which can be frustrating. Unfortunately, there’s no built-in way to use the file name as the prefix automatically, but you can use a simple script to handle this:

 

javascript
Copy code
 
var doc = app.activeDocument;
var docName = doc.name.replace(/\.[^\.]+$/, '');
var destFolder = Folder.selectDialog("Select folder for export");
if (destFolder) {
var exportOptions = new ExportOptionsPNG24();
exportOptions.artBoardClipping = true;
var filePath = new File(destFolder + "/" + docName + "_");
doc.exportFile(filePath, ExportType.PNG24, exportOptions);
}
JohanElzenga
Community Expert
JohanElzengaCommunity ExpertCorrect answer
Community Expert
May 29, 2024

You can't rename the originals in Lightroom, but when you export an image you can give the exported image a different name. https://helpx.adobe.com/lightroom-cc/using/save-share-photos.html

 

-- Johan W. Elzenga