Backup

The following options affect only the backup commands.

--directory-template <TEMPLATE>

Set the output directory template

ContextBackup Context
Default{{ now \| date(format='%Y-%m-%d-%H%M%S')}}-{{ version }}
Example Output1970-01-01-120000-v0.1-0000

Note that an escaping backslash \ was required to nest a pipe | inside a markdown table. In other words, the default value does not contain a backslash.

Backup Context

AttributeTypeDescription
nowdatetimethe current datetime
versionstringthe current Apple Books version