Character
|
Meaning
|
Example
|
%d
|
Date in the form YYMMDD
|
010930 for 30 Sept 2001
|
%t
|
Time in the form HHMMSS
|
223415 for 10:34:15pm
|
%f
|
Image file type
|
e.g. CR3 for Canon raw files, IMG for JPEGs, STx for panoramic images
|
%x
|
The file extension
|
jpg for IMG_0123.jpg
|
%n
|
Sequence number (incremented for each file)
|
0001, 0002, 0003 etc.
|
%N
|
Canon sequence number in the form dddnnnn where ddd is the original image folder and nnnn is the image number (read from EXIF data in JPG or THM file)
|
4010123 for image 0123 in folder 401
|
%e
|
Frame number when shooting in continuous drive mode
|
01, 02, 03 etc.
|
%q
|
Canon folder number (not available with Canon 1D series cameras or the EOS 5D)
|
401 for image 0123 in folder 401
|
%r
|
Canon image number (this info is stored in the shooting data for Canon PowerShot cameras and most EOS cameras except the 1D series). For cameras which don't store this information in the shooting data %r extracts the last 4 digits of the filename or reverts to %n if the filename doesn't end in 4 digits)
|
0123 for image 0123 in folder 401
|
%c
|
Camera serial number (Canon EOS cameras only)
|
0230200987
|
%C
|
Canon EOS 1D/1DS style serial number - takes the last three hexadecimal digits of the serial number
|
4FA
|
%T
|
Camera model name. This extracts the first word containing numbers from the camera model name
|
10D for "Canon EOS 10D", EOS-1DS for "Canon EOS-1DS"
|
%v
|
Similar to %T, but treats '-' characters as spaces when extracting the camera model
|
1DS for "Canon EOS-1DS"
|
%u
|
Lowest number to give a unique name. Useful when using %t and camera takes shots at more than 1 fps
|
1, 2, 3 etc.
|
%U
|
Lowest number prefixed with _ to give a unique name or empty string if there are no duplicates.
|
<empty>, _1, _2, _3 etc.
|
%o
|
Original filename
|
CRW_0001
|
%F
|
Focal length in mm
|
28
|
%A
|
Aperture
|
5.6
|
%s
|
Shutter speed
|
125 for 1/125 sec
|
%i
|
ISO
|
100
|
%Y
|
Year with century
|
2001
|
%y
|
Year without century
|
01
|
%m
|
Month (01 to 12)
|
09 for September
|
%W
|
Week number (00-53)
|
38 for last week in Sept 2001
|
%D
|
Day of month (01-31)
|
29
|
%a
|
Abbreviated day name (note: may vary with locale)
|
Sat for Saturday
|
%b
|
Abbreviated month name (note: may vary with locale)
|
Sep for September
|
%H
|
Hour (00-23)
|
23 for 11pm
|
%I
|
Hour (00-12)
|
11 for 11pm
|
%M
|
Minute (00-59)
|
53
|
%S
|
Second (00-59)
|
07
|
%[n]
|
Extracts the n'th character from the original filename
|
%[3] extracts G from IMG_1234
|
%[n-]
|
Extracts characters from original filename starting with the n'th character to the end of the name
|
%[2-] extracts MG_1234 from IMG_1234
|
%[n-m]
|
Extracts characters from the n'th to the m'th characters from the original filename
|
%[3-5] extracts G_1 from IMG_1234
|
%[-n]
|
Extracts the last n characters of the original filename
|
%[-4] extracts 1234 from IMG_1234
|
%![n]
|
Extracts everything except the n'th character from the original filename
|
%![3] extracts IM_1234 from IMG_1234
|
%![n-]
|
Extracts characters before the n'th character from original filename
|
%![3-] extracts IM from IMG_1234
|
%![n-m]
|
Extracts everything except characters from the n'th to the m'th characters from the original filename
|
%![3-5] extracts IM234 from IMG_1234
|
%![-n]
|
Extracts everything except the last n characters of the original filename
|
%![-3] extracts IMG_1 from IMG_1234
|
{left,n,str}
|
Extracts the first n characters from str (which can be a string or any token except ones starting with '{').
|
{left,4,@model@} for an image taken with a Nikon D300 will give: Niko
|
{mid,n,m,str}
|
Extracts m characters starting from the n'th character from str (which can be a string or any token except ones starting with '{').
|
{right,1,4,@model@} for an image taken with a Nikon D300 will give: ikon
|
{right,n,str}
|
Extracts the last n characters from str (which can be a string or any token except ones starting with '{').
|
{right,3,@model@} for an image taken with a Nikon D300 will give: 300
|
{first,str}
|
Extracts the first word from str (which can be a string or any token except ones starting with '{').
|
{first,@model@} for an image taken with a Nikon D300 will give: Nikon
|
{last,str}
|
Extracts the last word from str (which can be a string or any token except ones starting with '{').
|
{last,@model@} for an image taken with a Nikon D300 will give: D300
|