Author Topic: Using Variable Substring Extraction to rename files based on the folder name  (Read 40 times)

Offline alexmacnaughton

  • Member
  • **
  • Posts: 68
    • View Profile
I've been experimenting with using Variable Substring Extraction to rename files when exporting from PM to LR, based on the folder name.

When I import into PM, I use this naming convention for my folder structure

yyyymmdd-Job-Imported

20260524 Rathayatra Festival Imported

The naming convention I use for images in LR is

job-ddmmyy-sequence

rathayatra-festival-250526-001

The following gives the result I needed

{folder:9,-9:0:lc:tr: /-}-{day0}{month0}{year2}-{seqn}