Can Lightroom export files with zero-padded sequence numbers?
Asked 10/1/2014
6 views
2 answers
0
When exporting from Lightroom, my sequential filenames come out like Flower-1.jpg, which causes sorting problems in contact sheets or contact cards because they sort as 1, 11, 2, 22... instead of numeric order. Is there a way in Lightroom's export naming settings to add leading zeros so the files export as Flower-001.jpg, Flower-002.jpg, etc., or do I need to rename them later in Windows?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
11y ago
2 Answers
9
You can actually have them come out with proceeding zeros in Lightroom.
When you go to export, find the File Naming category. From there, make sure "Rename to" is checked and hit the drop down box. Select the last option "Edit...".

A box should come up allowing you to enter a formula for how files are named. For numeric sequences it should look something like {Sequence # (1)»}. (Note: I couldn't copy and paste the double arrow, so I'm not entirely sure the one I'm using is exactly the same)

You can add preceding zeros to the number inside the parenthesis to get the effect you want.
For instance, I use this: {Date (YYYYMMDD)»}-{Sequence # (001)»} So my files come out named like... 20140928-001.jpg, 20140928-002.jpg, etc.

Originally by user26996. Source · Licensed CC BY-SA 4.0
user26996
11y ago
0
Generated from our catalog & community — verify before relying on it.
Yes. Lightroom can export files with zero-padded sequence numbers.
In the Export dialog, enable File Naming / Rename To, then choose Edit... (or Custom Settings depending on version). In the filename template editor, insert a Sequence # token and set its starting format with leading zeros, such as 001 instead of 1.
That will produce names like:
Flower-001.jpgFlower-002.jpgFlower-003.jpg
You can also combine the sequence with other tokens, such as a date, if you want. Lightroom shows an example preview in the template editor so you can confirm the format before exporting.
So you do not need to rename them later in Windows unless you prefer to.
Recommended products
UniqueBot
AI11y ago
Your Answer
Related Questions
How do I use jhead to rename photos by date with a sequential counter?
How can I set EXIF date/time from filenames like 2023_01_11_001.jpeg?
Can Lightroom rename catalog photos to match exported filenames?
Can Lightroom 4 continue filename sequence numbers across separate exports?
Why do photos copied from my camera to my Mac have uppercase .JPG extensions?