Skip to content

Naming Templates

A naming template is a recipe for how to name files and folders in Exposure. Naming templates can help you enforce consistent naming for photos as they are brought into your photo library and exported for use elsewhere. In the Copy Photos from Card and Bulk Rename, and Export dialogs, naming templates are used in the Destination and File Naming sections.

Naming templates are a sequence of components, which, when put together, form the name of the file or folder. Naming templates don’t include the file extension, which is set by Exposure according to the type of file being copied, renamed, or exported.

Naming components show an example of the text they will be replaced with, so you can verify that the name will be generated as desired. When you select a naming component, a box is revealed with the type of the component and a delete button for removing it from the template. Some components have additional settings which can be changed in this control.

File naming template from the Export dialog. The template includes the original name, custom text to add a dash, and an ‘Ask’ custom text component. Exposure will prompt for this text when the export is performed.
File naming template from the Export dialog. The template includes the original name, custom text to add a dash, and an ‘Ask’ custom text component. Exposure will prompt for this text when the export is performed.

The Original Name component is replaced with the original name of the photo on disk, not including extension.

Number Suffix is replaced with a number sequence from the original filename. This is useful if you want to convert a generic filename like IMG_1498 to something more meaningful, like Jane-Smith-Studio-1498, preserving the sequence number assigned by your camera.

Copy Name is replaced with the contents of the Copy Name field in Exposure’s metadata panel.

Custom Text is replaced with custom text you specify. Select the Ask option to prompt for the custom text when the copy, rename, or export operation is executed.

Sequence is replaced with a number from a sequence. Each time the template is used, the number is incremented by one. In the configuration options for the sequence, you can specify the number of digits shown using the format menu. Leading zeros will be added to make the sequence number have the specified number of digits.

Click the edit button to change the starting number for the sequence. You can also specify separate sequences for different situations using the Sequence ID menu. Each sequence can have a different starting number, and each can optionally reset at each run.

Capture Time and Capture Time are replaced with times recorded in a photos metadata. You can specify a date/time format from the menu. The custom option enables you to specify your own formats. See the Custom Time Formats section below for more details.

The Metadata component is replaced with information from the photo. Choose the specific metadata item from the menu. Available options include dimensions, capture info (exposure time, f--stop, ISO), camera info (make, model, serial number), lens, photographer details (name, copyright, email), and tags (flag, color, rating).

Custom Time Formats

The following expressions may be used when specifying your custom time format.

Expression Meaning
d The day as a number without a leading zero (1 to 31)
dd The day as a number with a leading zero (01 to 31)
ddd Abbreviated day name (e.g., "Sun", "Mon", etc.)
dddd Full day name (e.g., "Sunday", "Monday", etc.)
M The month as a number without a leading zero (1 to 12)
MM The month as a number with a leading zero (01 to 12)
MMM Abbreviated month name (e.g., "Jan", "Feb", etc.)
MMMM Full month name (e.g., "January, February", etc.)
yy The year as a two digit number
yyyy The year as a four digit number
h The hour without a leading zero (0 to 23 or 1 to 12 if AM/PM)
hh The hour with a leading zero (00 to 23 or 01 to 12 if AM/PM)
H The hour without a leading zero (0 to 23)
HH The hour with a leading zero (00 to 23)
m The minute without a leading zero (0 to 59)
mm The minute with a leading zero (00 to 59)
s The second without a leading zero (0 to 59)
AP or A AM or PM
ap or a am or pm

All other characters appear as-is. For example, specify "yyyy-MM" to get a dash, as in "2016-09".

In order to produce cross-platform file names, some invalid characters will be replaced with "-".

These characters are invalid: \ / : * ? " \< > |

Characters enclosed in single quotes will not be interpreted as expressions. Use two single quotes in a row to produce an actual single quote.