Settings

Settings: Metadata Templates

Save sets of Metadata Editor changes, each field with its value and action, to load onto other photos

Overview

Metadata Templates are saved sets of Metadata Editor changes. Each field in a template carries its own value and its own action — Add, Replace or Clear — and a field that holds records, such as Licensor or Person Shown in the Image, carries one record and a whole-record action. A field that is not in the template is never touched.

A value can carry per-photo variables, such as © {year} Jane Doe. Archyv fills them in separately for each photo, from that photo's own metadata — in Batch mode as it writes, in Individual mode when you load the template onto the photo on screen. A variable for a field the template itself sets, such as {city} when it sets City, takes the value that field ends up with. A template can also be chosen in a Conversion Template, so Image Conversion writes it onto every converted copy, with the variables read from the original photo, or in a Transfer Template, so File Transfer applies it to every file it copies or moves, with the variables read from the transferred file. In both, {filename} is the new file's own name — the converted copy's, or the name the transferred file ends up with. This page lists your templates, previews the changes each one makes, and opens the template editor.

When to Use

Make a template when you apply the same set of metadata to shoot after shoot — your copyright notice, credit line, creator details and usage terms, for example — so you can load them in one step instead of typing each field again. Variables let one template suit every photo: © {year} Jane Doe gives each photo the year it was taken, and a caption ending in {city} picks up each photo's own city — or the city the template gives it. Build templates here from scratch, or make the changes in the Metadata Editor — in Batch or Individual mode — and choose Save as template…. Load them from Load template in either mode, or choose one in a Conversion Template or a Transfer Template to apply it to every converted copy or every transferred file.

Requirements

  • No special requirements - Metadata Templates are available immediately
  • Templates are loaded and saved in the Metadata Editor, in Batch mode and in Individual mode
  • A Conversion Template can name one, and Image Conversion then writes it onto every converted copy
  • A Transfer Template can name one, and File Transfer then applies it to every file it copies or moves; Undo of the transfer puts the files back as they were
  • Template names must be unique; capitals do not count, so “Client A” and “client a” are the same name
  • Variables work only in free-text fields, and only the variables listed below are accepted
  • Earlier versions of Archyv cannot import a Metadata Editor template file

Template Fields

Each field in the template editor, and how it shapes what the template produces.

NameRequired · unique

The template's name, shown in the Templates list and in the Metadata Editor's Load template menu.

Example“Client A rights” or “Wildlife credits”.
FieldAdd field · any Metadata Editor field

Each row is one field. Choose Add field and pick it from the list, which is grouped by category. A field can be added only once.

Fields in categories you have hidden in Field Categories are offered too, marked “hidden category”. A template still applies them.

ActionAdd / Replace / Clear

What the row does to each photo. Add depends on the field: a field that holds one value, such as Copyright Notice, is written only where it is empty; a field that holds several, such as Keywords, gets the values the file does not have yet and keeps the ones it has; a field that holds records is described under Records below. If Add leaves a file unchanged, that file counts as Skipped. Replace overwrites existing values in all files; Clear removes all values from this field for all files.

When to useA row with no action chosen stops the template being saved. To empty a field, add it with Clear — leaving a field out of the template leaves it untouched.

In Individual mode a template changes only the photo on screen, so an Add that would change nothing there is left out when the template loads and named in the note under the template buttons.

ValueTyped or picked, to suit the field

The value the row writes, entered with the same control the Metadata Editor uses for that field: a text box, a date picker, a pair of GPS coordinates, a list of choices, or True and False. Add and Replace need a value; Clear needs none.

ExampleCopyright Notice, Replace, © {year} Jane Doe.
RecordsAdd / Replace / Clear · one record

A field that holds records — Licensor, Copyright Owner, Person Shown in the Image with Details, Location Created and the rest — carries one record and a whole-record action. Add writes the record only to photos with none of that kind; Replace gives every photo exactly that record; Clear removes them all.

Add or Replace needs at least one box of the record filled in.

Variables{name} · free-text fields only

A word in braces that Archyv replaces with a value taken from each photo when it writes. Type it, or choose Insert variable beside the value box. Capitals do not matter: {Year} and {year} are the same.

When to useOnly free-text fields accept variables. Dates, GPS coordinates, numbers, True/False fields, fields with a list of choices and country codes do not — the editor says the field “cannot use variables”. A name Archyv does not know, such as {yeer}, is an error (“Unknown variable {yeer}”), so a typo can never be written into your files.
Example© {year} Jane Doe becomes © 2024 Jane Doe on a photo taken in 2024.

Date variables come only from the date the photo was taken, as recorded in its metadata — never from the file's own created or modified dates. Braces around anything that is not a word, such as {1}, are kept as typed.

When a photo has no valueField skipped on that photo

If a photo has nothing for a variable — no capture date for {year}, no City for {city} — that field is not written on that photo, and the run log says which field and which variable. If nothing else changed on the photo, it counts as Skipped. A value that comes out empty counts as missing. In Individual mode the field is left out when the template loads, and the note under the template buttons names it and the variable.

Example[SKIPPED] Copyright Notice for IMG_0001.jpg — {year}: this file has no capture date
{year}Year

The year the photo was taken.

Example{year} → 2024
{month}Month

The month the photo was taken, as a name.

Example{month} → November
{mm}Month (number)

The month the photo was taken, as two digits.

Example{mm} → 11
{dd}Day

The day of the month the photo was taken, as two digits.

Example{dd} → 05
{date}Date

The date the photo was taken, as year-month-day.

Example{date} → 2024-11-05
{filename}File name

The file's name, without its extension — for a converted or transferred file, its new name.

Example{filename} → IMG_0001
{make}Camera make

The make of camera that took the photo.

Example{make} → Canon
{model}Camera model

The model of camera that took the photo.

Example{model} → EOS R5
{lens}Lens

The lens the photo was taken with.

Example{lens} → RF24-105mm F4 L IS USM
{creator}Creator

The photo's creator (photographer) — or the Creator this template gives it.

Example{creator} → Jane Doe
{artist}Creator

Another spelling of {creator}.

Example{artist} → Jane Doe
{credit}Credit Line

The photo's Credit Line — or the Credit Line this template gives it.

Example{credit} → Jane Doe Photography
{title}Title

The photo's Title — or the Title this template gives it.

Example{title} → Harbour at Dawn
{city}City

The photo's City — or the City this template gives it.

Example{city} → Victoria
{state}Province or State

The photo's Province or State — or the Province or State this template gives it.

Example{state} → British Columbia
{country}Country

The photo's Country — or the Country this template gives it.

Example{country} → Canada

Managing Templates

Review a template

Select a template to see its changes, each with its action and value, as the Batch mode's Staged changes list will show them. Fields this version of Archyv cannot apply are listed as left out.

Create or edit a template

Choose New… for an empty template, or select one and choose Edit. Save stays unavailable while any problem is listed in red: no name, a name already used, no fields, a field added twice, a row with no action, an Add or Replace row with no value, an invalid value, an unknown variable, or a variable in a field that cannot use one. Cancel asks before discarding unsaved changes. If the template was deleted while you were editing it, Archyv says the template no longer exists and offers Save as New Template.

  1. Choose New… above the Templates list.
  2. Enter a name.
  3. Choose Add field and pick a field.
  4. Choose Add, Replace or Clear, then enter the value — use Insert variable for a per-photo value.
  5. Repeat for each field or record, then choose Save.
Save and load in Batch mode

In the Metadata Editor's Batch mode, stage your changes and choose Save as template… to keep them; every staged change needs a value first, and an existing name asks before it is replaced. Choose a template from Load template to stage its changes. If changes are already staged, Archyv asks first: Keep My Changes adds only the template’s changes to fields that have none staged, so yours stay as they are; Replace All stages the template in place of everything. Each loaded change appears in the Staged changes list, where you can remove it; a change in a hidden category is shown there tagged “hidden category” and is still written. A loaded template is a copy: editing the saved template later does not change what is already staged.

Save and load in Individual mode

In Individual mode, Load template applies a saved template to the photo on screen only. Its variables are filled in from that photo as it loads. If the photo already has staged changes, or text you typed but have not applied, Archyv asks first, as in Batch mode: Keep My Changes adds only the template’s changes to fields you have not changed, and Replace All replaces every change on the photo. Protected fields follow your field-protection setting: with Strict they are left out, with Warn you are asked. Anything the load leaves out is named in a note under the template buttons. Every change on the photo appears in the Staged changes list, as Batch mode shows it and as Save as template… would keep it, where you can remove it; a change in a hidden category is shown there tagged “hidden category” and is still written. Save as template… keeps only what you changed on that photo: a new value as Replace, an emptied field as Clear, and values you only added to a field that holds several, such as Keywords, as Add. A field that holds records can be saved with at most one record. Start writes the changes the same way as any other Individual mode change.

Rename, duplicate, delete, import and export

Use the buttons beside the list. Rename and Duplicate ask for a name; Delete cannot be undone. Export writes the selected template to a .avtemplate file you can share or back up; Import adds templates from a file, and double-clicking the file in Finder does the same. An imported template arrives as a new copy; if its name is already taken, Archyv asks what to do. Fields the importing copy of Archyv does not have are named and left out. Earlier versions of Archyv cannot import a Metadata Editor template file. Your templates also travel in a settings export.

Tips & Important Notes

  • Variables that read an existing field — {creator}, {credit}, {title}, {city}, {state}, {country} — use the value that field ends up with. A template that sets City to Calgary and writes Shot in {city} into a caption writes Shot in Calgary. When the template adds a City only where a photo has none, a photo that already has one keeps it, and {city} uses that city. When the template clears City, a field that uses {city} is not written on that photo, and the run log says why. A field that uses its own variable, such as City set to {city} area, uses the photo's own city. When the template does not set the field, the variable uses the photo's own value
  • In Batch mode, photos that share one sidecar file receive the values worked out for the first of them
  • The run log shows a [SKIPPED] line for each field left unwritten because a photo had no value; with verbose logging on, it also lists at the start of the run which fields have per-photo values
  • In Batch mode, field-protection and pre-run windows show the template text, such as {year}, not each photo's value — the values exist only as each photo is written. In Individual mode the values are filled in when the template loads, so you see them in each field before you choose Start
  • Load template shows the template's name while its own values are still what is staged, and goes back to Load template once you change one of them — or keep your own change over one of them when you load it
  • Keep one template per client or purpose, and name it for that purpose, so the Load template menu reads like a checklist