Filename Template: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
(Created page with "thumb|right|380px|The Filename Template with a basic setup for music files on Mac OSX. The Filename Template is used to se...")
 
No edit summary
Line 2: Line 2:


The Filename Template is used to set the naming of the files selected in the tool. Like the [[Directories Template]], it consists of a '''Rule''' which auto-generates the filename base on each file's metadata. The Filename Template does not consider the source filenames at all, and the replacement name is built from scratch using the '''Rule'''.
The Filename Template is used to set the naming of the files selected in the tool. Like the [[Directories Template]], it consists of a '''Rule''' which auto-generates the filename base on each file's metadata. The Filename Template does not consider the source filenames at all, and the replacement name is built from scratch using the '''Rule'''.

For example, you might want to name your music files with their [Disc #], [Track #], and [Name], and your movies with their [Name] and [Year].

== Use ==

The Filename Template consists of only a single '''Rule''', which is constructed using the following system:
* If the Filename Template is not enabled, the files' existing filenames will be passed through untouched.
* Insert file-specific properties by using the standard [[Library Field]] square bracket notation, such as [Track #], [Episode], [Year], or [Name].
* The rule may also contain [[Expression Language]] functions.
* All text entered that does not match a valid Library Field or Expression Language function will be passed through verbatim.

Revision as of 16:52, 24 May 2015

Error creating thumbnail: File missing
The Filename Template with a basic setup for music files on Mac OSX.

The Filename Template is used to set the naming of the files selected in the tool. Like the Directories Template, it consists of a Rule which auto-generates the filename base on each file's metadata. The Filename Template does not consider the source filenames at all, and the replacement name is built from scratch using the Rule.

For example, you might want to name your music files with their [Disc #], [Track #], and [Name], and your movies with their [Name] and [Year].

Use

The Filename Template consists of only a single Rule, which is constructed using the following system:

  • If the Filename Template is not enabled, the files' existing filenames will be passed through untouched.
  • Insert file-specific properties by using the standard Library Field square bracket notation, such as [Track #], [Episode], [Year], or [Name].
  • The rule may also contain Expression Language functions.
  • All text entered that does not match a valid Library Field or Expression Language function will be passed through verbatim.