Difference between revisions of "ReNamer:Rules:Rearrange"
("Split options explained" section to break down nested table) |
(Cleaned up) |
||
Line 14: | Line 14: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Parameter | + | ! Parameter |
− | ! | + | ! Description |
|- | |- | ||
| Split using | | Split using | ||
Line 49: | Line 49: | ||
|} | |} | ||
− | == Split options explained == | + | === Split options explained === |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Option | + | ! Option |
− | ! | + | ! Description |
|- | |- | ||
| Delimiters | | Delimiters |
Revision as of 16:00, 11 November 2015
Rearrange rule
This rule allows you to chop up the existing file name and reuse any/all of the parts in any order to compose a new name.
- You can also add your own text, or use meta tags while composing the new name.
- You can also use the whole original name, and insert literal text (or meta tags) around it.
The parameters are as follows:
Parameter | Description |
---|---|
Split using |
Specifies how to split the existing name into parts.
For detailed explanation of split methods please look below at the split options explained section. |
Right-to-left |
If selected, the numbering starts from right.
|
Adds a *|* sequence between two delimiter entries, to separates them. (You can directly type the *|* sequence instead of clicking on this button.). | |
New pattern |
How to compose the new name from the parts created from the original name (see above).
|
Click the button to see a list of meta-tags. Select any meta tag to insert it in the new name template. |
Split options explained
Option | Description |
---|---|
Delimiters |
Chop the name where the delimiter occurs.
Warning: The number of parts into which the filename is broken down depends solely on the number of delimiters in the filename. If you reference fewer parts in the output pattern that the number of available parts - not referenced parts will be lost! For example, take filename "Artist - Title" and to swap them around one would use " - " as a delimiter and "$2 - $1" as a new pattern which will result in "Title - Artist", but if some filename appears with more dashes like "Artist - Title - Album" the result will also be "Title - Artist" and last part will be lost. To make sure that no parts are lost use Exact pattern of delimiters option instead. |
Positions |
Chop the name at the indicated position (the position count begins with 1).
|
Exact pattern of delimiters |
Chop the name using the exact pattern (sequence) of the delimiters. With this option you basically define how many parts you want the filename to be split into and the order in which the delimiters must occur. If you specify 1 delimiter then you end up with exactly 2 parts, if you specify 2 delimiters you'll get 3 parts, and so on. |
Examples
This rule is so versatile that it can be used in a huge number of ways. Therefore its examples have been moved to a separate article Rearrange Examples.