Difference between revisions of "ReNamer:Rules:Rearrange"
(warning about lost parts when using delimiters) |
|||
Line 35: | Line 35: | ||
*The chopped parts do <u>''not''</u> contain the delimiters (they are omitted totally) | *The chopped parts do <u>''not''</u> contain the delimiters (they are omitted totally) | ||
*Spaces, numbers and symbols are treated like normal characters. | *Spaces, numbers and symbols are treated like normal characters. | ||
− | *Several delimiters can be used at a time. Use the | + | *Several delimiters can be used at a time. Use the {{pipe}} character to separate them. |
*The chopped parts are numbered from left, as $1, $2, $3, etc. | *The chopped parts are numbered from left, as $1, $2, $3, etc. | ||
Line 41: | Line 41: | ||
*If the delimiter occurs at the very beginning of the name, the resultant $1 contains nothing (because there is nothing on the left side of the delimiter). | *If the delimiter occurs at the very beginning of the name, the resultant $1 contains nothing (because there is nothing on the left side of the delimiter). | ||
+ | |||
+ | <span style="color: red">'''Warning:'''</span> 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. | ||
|- | |- |
Revision as of 20:45, 11 June 2010
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: | How to use: | ||||||||
---|---|---|---|---|---|---|---|---|---|
Split using |
Specifies how to split the existing name into parts.
| ||||||||
Right-to-left |
If selected, the numbering starts from right.
| ||||||||
Adds a | character between two delimiter entries, and separates them. (You can directly type the | character 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. |
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.