Difference between revisions of "Directories Template"

From JRiverWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[File:RMCF-Directories Template-Music Example.png|thumb|right|380px|The Directories Template with a basic setup for music files on Mac OSX.]]
 
[[File:RMCF-Directories Template-Music Example.png|thumb|right|380px|The Directories Template with a basic setup for music files on Mac OSX.]]
 +
 +
{{See also|Rename, Move, and Copy Files}}
  
 
The Directories Template is used to set the base path and directories used to store your files.  You set a '''Base Path''' that will be used for all files selected in the tool (this would typically contain the disk letter or volume name), and then a '''Rule''' which auto-generates the directories used based on each file's metadata. The Directories Template does not consider the source directories, disk, or volume, and the selected files can come from a variety of source locations.
 
The Directories Template is used to set the base path and directories used to store your files.  You set a '''Base Path''' that will be used for all files selected in the tool (this would typically contain the disk letter or volume name), and then a '''Rule''' which auto-generates the directories used based on each file's metadata. The Directories Template does not consider the source directories, disk, or volume, and the selected files can come from a variety of source locations.
  
For example, to move or copy all of the files selected to <tt>/Users/Shared/Media</tt>, you would set this as your Base Path. Typically, you will want to have the tool generate sub-folders for you based on the properties of the files selected. For example, you might want to put each file in folders corresponding to their [Artist] property, and then have sub-folders for each [Album].
+
For example, you might want to consolidate files from a variety of source locations on disk into a common media folder, and then put each file in folders corresponding to their [Artist] property, with sub-folders for each [Album].
 +
 
 +
The Directories Template consists of two main components:
 +
* '''Base Path''': The portion of the destination path that will be identical for all files selected.
 +
* '''Rule''': The portion of the destination path that will be generated based on the metadata from each file.
 +
 
 +
The easiest way to understand how to use the Directories Template system is with an example.  Suppose you have a set of music files you'd like to consolidate into the following filesystem location: <tt>/Users/Shared/Media</tt>.  Within this location, you'd like a folder structure like this:
  
To do this, you fill out the Rule and use the standard "bracket notation" (as shown above) corresponding to the [[Library Field]] you want to be used.
+
[[File:RMCF-Directories Templates-Finder Example.png|thumb|none|420px]]
  
So, if you'd selected an audio file by ''Pink Floyd'' disc 1 of The Wall, and you used the following Base Path and Rule (shown in the screenshot at right):
+
To do this, you could use something like this:
  
 
* Base Path: <tt>/Users/Shared/Media</tt>
 
* Base Path: <tt>/Users/Shared/Media</tt>
 
* Rule: [Media Type]/Music/[Artist]/[Album]/[Disc #]
 
* Rule: [Media Type]/Music/[Artist]/[Album]/[Disc #]
  
Then, you'd end up with this directory path:
+
So, if you'd selected an audio file by ''Pink Floyd'' disc 1 of The Wall, you'd end up with this directory path:
  
 
<tt>/Users/Shared/Media/Audio/Music/Pink Floyd/The Wall/1/</tt>
 
<tt>/Users/Shared/Media/Audio/Music/Pink Floyd/The Wall/1/</tt>

Revision as of 00:17, 24 May 2015

The Directories Template with a basic setup for music files on Mac OSX.

The Directories Template is used to set the base path and directories used to store your files. You set a Base Path that will be used for all files selected in the tool (this would typically contain the disk letter or volume name), and then a Rule which auto-generates the directories used based on each file's metadata. The Directories Template does not consider the source directories, disk, or volume, and the selected files can come from a variety of source locations.

For example, you might want to consolidate files from a variety of source locations on disk into a common media folder, and then put each file in folders corresponding to their [Artist] property, with sub-folders for each [Album].

The Directories Template consists of two main components:

  • Base Path: The portion of the destination path that will be identical for all files selected.
  • Rule: The portion of the destination path that will be generated based on the metadata from each file.

The easiest way to understand how to use the Directories Template system is with an example. Suppose you have a set of music files you'd like to consolidate into the following filesystem location: /Users/Shared/Media. Within this location, you'd like a folder structure like this:

RMCF-Directories Templates-Finder Example.png

To do this, you could use something like this:

  • Base Path: /Users/Shared/Media
  • Rule: [Media Type]/Music/[Artist]/[Album]/[Disc #]

So, if you'd selected an audio file by Pink Floyd disc 1 of The Wall, you'd end up with this directory path:

/Users/Shared/Media/Audio/Music/Pink Floyd/The Wall/1/

RMCF-Preview-Directories Music Example.png

Notice how the "/Music/" term is passed through untouched. Any term included in a Rule that does not match a valid Library Field and which isn't a valid Expression, is passed through verbatim. If the files were all tagged with [Media Sub Type] set to "Music", then you could accomplish the same thing with this rule instead:

[Media Type]/[Media Sub Type]/[Artist]/[Album]/[Disc #]

The example shown above uses POSIX-style paths from Mac OSX, but the Directories Template works exactly the same way on Windows. The Base Path can start with either a drive letter, or a UNC path for files stored on a network share.

Drive Letter Directories Template example.
UNC style Directories Template example.