From the ZenTransfer Blog

Rename Template Variables Reference

Complete reference for all variables available in ZenTransfer file rename templates

Rename Template Variables Reference

ZenTransfer can automatically rename files as they are processed. You define a rename template using variables wrapped in curly braces, and each variable is replaced with its value when a file is transferred.

For example, the template {datesortdash}_{Make}_{Model}_{#roll:5}.{FileExtension} might produce 2026-04-16_FUJIFILM_X-T5_00042.jpg.

File variables

VariableDescriptionExample
{OriginalFilename}Original filename without extensionDSCF4148
{FileExtension}Original file extension without the dotjpg

Sequence counters

Sequence counters auto-increment every time a file is processed. They are created automatically the first time they are referenced in a template. You can manage their current values on your profile page.

VariableDescriptionExample
{#name}Counter named "name", incremented by 142
{#name:N}Same counter, zero-padded to N digits{#roll:5} produces 00042

You can use any name you like for a counter. Different names are tracked independently: {#daily} and {#job} are two separate counters.

Date/time variables (from file EXIF data)

These variables are derived from the EXIF DateTimeOriginal tag embedded in the image file. If no EXIF datetime is available (for example, for non-image files), ZenTransfer falls back to the current time.

Date

VariableAliasDescriptionExample
{date}{shot}Date as YYYYMMDD20260416
{datemil}{datm}Date and time with milliseconds20260416143022123
{datesort}{dats}Sortable date YYYYMMDD20260416
{datesortdash}{dtsd}Sortable date with dashes2026-04-16
{day}Day of month without padding6
{day0}Day of month, zero-padded06
{dow}Day of week, full nameThursday
{dow3}Day of week, 3-letterThu
{month}{mn}Month without padding4
{month0}{mn0}Month, zero-padded04
{monthname}{mnn}Month full nameApril
{monthname3}{mnn3}Month 3-letterApr
{monthnameap}{mnap}Month, AP style (5+ letters abbreviated)April, Sept., Jan.
{year2}{yr2}2-digit year26
{year4}{yr4}4-digit year2026
{ordinalday}{oday}Day of year (1-366)106

Time

VariableAliasDescriptionExample
{ampm}AM or PMPM
{hour}12-hour without padding2
{hour0}{hr0}12-hour, zero-padded02
{hour24}{h24}24-hour, zero-padded14
{minute}{min}Minute, zero-padded30
{second}{sec}Second, zero-padded22
{subsecond}{ssec}Microseconds (6 digits)123000
{time}Time as HHMMSS143022
{timesort}{tims}Sortable time HHMMSS143022
{timesortdash}{tmsd}Sortable time with dashes14-30-22
{timesortlong}{tmsl}Time with microseconds143022123000

Combined sort formats

VariableDescriptionExample
{sort}Date and time YYYYMMDDHHMMSS20260416143022
{sortlong}Date, time, and microseconds20260416143022123000

Other

VariableAliasDescriptionExample
{gmtoffset}{gmt0}UTC offset+00:00

Modification date/time variables

These variables are derived from the EXIF ModifyDate tag, which records when the image was last modified (e.g. in Lightroom or Photoshop). If no EXIF modification date is available, ZenTransfer falls back to the creation date (same as the unprefixed date/time variables above).

All mod-prefixed variables mirror the structure of the unprefixed date/time variables.

Mod date

VariableAliasDescriptionExample
{moddate}{mdat}Modification date YYYYMMDD20260416
{moddatemil}{moddatm}Date+time with milliseconds20260416160522123
{moddatesort}{moddats}Sortable date YYYYMMDD20260416
{moddatesortdash}{moddtsd}Sortable date with dashes2026-04-16
{modday}{mdy}Day of month16
{modday0}{mdy0}Day of month, zero-padded16
{moddow}{mdow}Day of week, full nameThursday
{moddow3}{mdw3}Day of week, 3-letterThu
{modmonth}{mmn}Month4
{modmonth0}{mmn0}Month, zero-padded04
{modmonthname}{mmnn}Month full nameApril
{modmonthname3}{mmn3}Month 3-letterApr
{modmonthnameap}{modmnap}Month, AP styleApril, Sept.
{modyear2}{myr2}2-digit year26
{modyear4}{myr4}4-digit year2026
{modordinalday}{mododay}Day of year (1-366)106

Mod time

VariableAliasDescriptionExample
{modampm}AM or PMPM
{modhour}{mhr}12-hour4
{modhour0}{mhr0}12-hour, zero-padded04
{modhour24}{mh24}24-hour, zero-padded16
{modminute}{mmin}Minute05
{modsecond}{msec}Second22
{modsubsecond}{modssec}Microseconds123000
{modtime}{mtim}Time as HHMMSS160522
{modtimesort}{modtims}Sortable time HHMMSS160522
{modtimesortdash}{modtmsd}Sortable time with dashes16-05-22
{modtimesortlong}{modtmls}Time with microseconds160522123000

Mod combined

VariableAliasDescriptionExample
{modsort}{msrt}Sortable datetime20260416160522
{modsortlong}{msrl}With microseconds20260416160522123000
{modgmtoffset}{modgmt0}UTC offset+00:00

Current time variables (now)

These variables always use the current wall-clock time at the moment the file is processed, regardless of EXIF data.

VariableAliasDescriptionExample
{now}Current datetime YYYYMMDDHHMMSS20260416153000
{nowdate}Current date YYYYMMDD20260416
{nowdatesortdash}{nowdtsd}Current date with dashes2026-04-16
{nowampm}{nap}AM or PMPM
{nowhour}{nhr}12-hour3
{nowhour0}{nhr0}12-hour, zero-padded03
{nowhour24}{nh24}24-hour, zero-padded15
{nowminute}{nmin}Minute30
{nowsecond}{nsec}Second00
{nowsubsecond}{nsub}Microseconds000000
{nowsort}{nows}Sortable datetime20260416153000
{nowsortlong}{nwsl}Sortable with microseconds20260416153000000000

All other now-prefixed date variables follow the same pattern: {nowday}, {nowday0}, {nowmonth}, {nowmonth0}, {nowmonthname}, {nowyear4}, etc.

Today variables

These variables represent today's date using the current wall-clock time.

VariableAliasDescriptionExample
{today}{tday}Today YYYYMMDD20260416
{todayday}{tdy}Day of month16
{todayday0}{tdy0}Day of month, zero-padded16
{todaydow}{tdow}Day of weekThursday
{todaydow3}{tdw3}Day of week, 3-letterThu
{todaymonth}{tmn}Month4
{todaymonth0}{tmn0}Month, zero-padded04
{todaymonthname}{tmnn}Month full nameApril
{todaymonthname3}{tmn3}Month 3-letterApr
{todaymonthnameap}{tmap}Month, AP styleApril, Sept.
{todayyear2}{tyr2}2-digit year26
{todayyear4}{tyr4}4-digit year2026
{todaysort}{tdys}Sortable date+time20260416153000
{todaymil}{tdym}Date+time with ms20260416153000000
{tomorrow}{tmrw}Tomorrow YYYYMMDD20260417
{yesterday}{ystd}Yesterday YYYYMMDD20260415

Control characters

These variables expand to literal control characters. They are useful in metadata values (multi-line descriptions, tab-separated fields) but should generally be avoided in rename templates since most filesystems reject these characters in filenames.

VariableDescription
{nl}Newline (LF, \n)
{cr}Carriage return (\r)
{tab}Tab (\t)

Random values

Each variable is evaluated once per file: if the same placeholder appears twice in one template it produces the same value, but each new file gets a fresh value. All random values use a cryptographically strong source.

VariableDescriptionExample
{rand3}3-digit random number from 000 to 999047
{rand4}4-digit random number from 0000 to 99998391
{rand10}Random number from 01 to 1007
{rand100}Random number from 001 to 100042
{rand1000}Random number from 0001 to 10000617
{uniqueid}Random GUIDf47ac10b-58cc-4372-a567-0e02b2c3d479
{password}20 random characters from a-z, A-Z, 0-9aZ3kP9xQ2mL8nR4tV7wY

EXIF/XMP tag variables

Any variable name that is not one of the built-in variables above is treated as an EXIF or XMP tag name and extracted from the file using exiftool.

VariableDescriptionExample
{Make}Camera manufacturerFUJIFILM
{Model}Camera modelX-T5
{LensModel}Lens nameXF16-55mmF2.8 R LM WR
{ISO}ISO speed800
{FocalLength}Focal length35.0 mm
{ExposureTime}Shutter speed1/250
{FNumber}Aperture2.8
{Artist}Photographer nameJane Smith
{Copyright}Copyright notice2026 Jane Smith

Any tag that exiftool can read from the file can be used as a variable. If the tag is not found in the file, it will be replaced with an empty string.

Template examples

TemplateResult
{datesortdash}_{OriginalFilename}2026-04-16_DSCF4148.jpg
{year4}/{month0}/{OriginalFilename}2026/04/DSCF4148.jpg
{Make}_{Model}_{#roll:5}.{FileExtension}FUJIFILM_X-T5_00042.jpg
IMG_{today}_{#daily:4}IMG_20260416_0001.jpg
{datesortdash}_{timesortdash}_{Model}2026-04-16_14-30-22_X-T5.jpg