IPTC Tokens
On this page
IPTC Tokens#
Tokens can be used when specifying filename prefixes, output directories, and IPTC data fields. They are evaluated at the time the photo is taken.
Date and Time Tokens#
| Token | Description | Example |
|---|---|---|
%a |
Abbreviated weekday name | Fri |
%A |
Full weekday name | Friday |
%b |
Abbreviated month name | Jun |
%B |
Full month name | June |
%d |
Date in form YYMMDD (= %y%m%D) |
030611 for June 11, 2016 |
%D |
Day of the month (01–31) | |
%H |
Hour (00–23) | |
%I |
Hour (01–12) | |
%j |
Day of year (001–366) | |
%l |
Long date/time for locale | Wednesday, December 17, 2016 19:03:47 |
%L |
Long date for locale | Wednesday, December 17, 2016 |
%m |
Month (01–12) | 06 for June |
%M |
Minutes (00–59) | |
%p |
am/pm indicator | PM |
%S |
Seconds (00–59) | |
%t |
Time in form HHMMSS (= %H%M%S) |
|
%W |
Week number (00–53) | |
%x |
Date for locale | 06_11_03 for June 11, 2017 |
%X |
Time for locale | 14_39_29 |
%y |
Year without century | 03 |
%Y |
Year with century | 2017 |
%z |
Time zone name | GMT Standard Time |
%Z |
Time zone offset from UTC | +0100 for GMT during DST |
%1 |
Year 'now' in form YYYY | 2017 |
%2 |
Month 'now' (01–12) | 06 |
%3 |
Day 'now' (01–31) | 20 |
{year} |
Year 'now' in form YYYY | 2017 |
{month} |
Month 'now' (01–12) | 06 |
{day} |
Day 'now' (01–31) | 20 |
{yearLess8h} |
Same as {year} but using current time minus 8 hours |
2017 |
{monthLess8h} |
Same as {month} but using current time minus 8 hours |
06 |
{dayLess8h} |
Same as {day} but using current time minus 8 hours |
20 |
Shooting Data Tokens#
| Token | Description | Example |
|---|---|---|
{camera#} |
Camera number in the cameras dropdown | 1 |
%c |
Camera serial number | |
%C |
EOS-1D/1DS style serial number | |
%e |
File extension (without the dot) | JPG |
%i |
ISO value from shooting data | |
%o |
Image filename without extension | IMG_4567 |
%O |
Owner string stored in camera | |
{orientation} |
Image orientation: L (landscape) or P (portrait) | |
{orientationAngle} |
Orientation angle in degrees: 0, 90 or 270 | |
{owner} |
Owner string (same as %O) |
|
{author} |
Author string (newer cameras only) | |
{artist} |
Author string (same as {author}) |
|
{copy} |
Copyright string (newer cameras only) | |
{copyright} |
Copyright string (same as {copy}) |
|
%T |
Camera model — first word containing digits | 10D (from Canon EOS 10D) |
%T1 |
Same as %T but treating '-' as spaces |
1DS (from Canon EOS-1DS) |
%T2 |
Full camera model name | Canon EOS 10D |
%T3 |
First word of model name containing digits | |
%T4 |
Same as %T3 but treating '-' as spaces |
|
%T5 |
Last word of model name containing digits | 10D |
%T6 |
Same as %T5 but treating '-' as spaces |
1DS |
%v |
Same as %T |
|
%V |
Same as %T2 |
Other Tokens#
| Token | Description | Example |
|---|---|---|
{comment} |
Value of the comment field in the main window | |
%# |
Position of image number in the filename prefix | IMG_%#_{owner} places number before owner |
Was this page helpful?
Thanks, that helps us improve the guides.