# Sequence Numbers and Unique Numbering ## Sequence Numbers and Unique Numbering Downloader Pro provides several approaches to numbering images as they are downloaded. --- ### Shutter Activation Count Nikon DSLRs and Canon EOS-1D series cameras store the shutter activation count (total shots taken since the camera was new) in the shooting data. Use the `{r8}` token for guaranteed unique filenames per camera body. | **Token** | **Result** | | --- | --- | | `{r8}` | e.g. `123` | | `{r85}` | 5-digit padded, e.g. `00123` | | `{r86}` | 6-digit padded, e.g. `000123` | Example filenames: `{d}_{r8}`, `{t}_{r8}` --- ### Sequence Number Downloader Pro maintains a running count of downloaded images. The count persists between sessions and continues from where it left off. The starting value can be reset in "preferences":download-path. | **Token** | **Format** | | --- | --- | | `{seq#}` | No leading zeroes | | `{seq#2}` | 2-digit with leading zeroes | | `{seq#3}` | 3-digit with leading zeroes | | `{seq#4}` | 4-digit with leading zeroes | | `{seq#5}` | 5-digit with leading zeroes | | `{seq#6}` | 6-digit with leading zeroes | --- ### Uniqueness Tokens Uniqueness tokens prevent duplicate filenames within a single download (e.g. when naming files by time and shooting continuous bursts at more than 1 fps). - Lowercase `{l}` tokens evaluate to an empty string if the filename is already unique, and start numbering from 1 for subsequent duplicates. - Uppercase `{L}` tokens always evaluate to at least 1. | **Token** | **Behaviour** | | --- | --- | | `{l}` | Empty if unique, else 1, 2, 3... | | `{l2}` | 2-digit version of `{l}` | | `{l3}` | 3-digit version of `{l}` | | `{l4}` | 4-digit version of `{l}` | | `{L}` | Always 1, 2, 3... | | `{L2}` | 2-digit version of `{L}` | | `{L3}` | 3-digit version of `{L}` | | `{L4}` | 4-digit version of `{L}` | Example — three photos taken at 18:30:54: | Filename setting | Results | | --- | --- | | `{t}{l}` | `183054.jpg`, `1830541.jpg`, `1830542.jpg` | | `{t}{l2}` | `183054.jpg`, `18305401.jpg`, `18305402.jpg` | | `{t}_{l2}` | `183054.jpg`, `183054_01.jpg`, `183054_02.jpg` | | `{t}{L}` | `1830541.jpg`, `1830542.jpg`, `1830543.jpg` | > **Info** > > Downloader Pro automatically removes trailing spaces, dashes or underscores from filenames. This is useful with `{l}` — if it evaluates to empty, a preceding `_` is removed automatically. > **Info** > > Cameras that record subsecond timing (e.g. Nikon DSLRs, recent Canon DSLRs) support the `{s}` subsecond token as an alternative to uniqueness tokens, e.g. `{t}{s}`. --- ### Time Since the Epoch The `{epoch}` and `{epoch36}` tokens represent the number of seconds since midnight UTC on 1 January 1970. | **Token** | **Format** | | --- | --- | | `{epoch}` | 10-digit number e.g. `1164119444` | | `{epoch36}` | Base-36 string e.g. `J934B8` | > **Info** > > The `{epoch}` token can only represent times up to 03:14:07 UTC on 19 January 2038. --- Source: https://www.breezesoftware.com/help/downloader-pro/dp-seq-numbers