Difference between revisions of "ReNamer:Rules:Serialize"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<center>[[Image:SerializeRule.png]]</center> | <center>[[Image:SerializeRule.png]]</center> | ||
− | This rule works on a set of files, and inserts | + | This rule works on a set of files, and inserts incremental numeric series or random sequences of digits in the names of those filenames. |
− | When the ''incremental'' option is chosen, the files listed in the pane are numbered in ascending order. Thus, the position of the file in the | + | When the ''incremental'' option is chosen, the files listed in the pane are numbered in ascending order. Thus, the position of the file in the '''Files''' pane becomes important. Check the order of the files in the list before applying this rule. |
Examples: | Examples: | ||
Line 33: | Line 33: | ||
|- | |- | ||
| Reset if folder changes | | Reset if folder changes | ||
− | | Since ReNamer can work on files collected from multiple folders, this control allows you to reset the | + | | Since ReNamer can work on files collected from multiple folders, this control allows you to reset the counter for each of those folders. The effect is as if you are repeating the same commend for each of the folders separately. |
|} | |} | ||
Line 47: | Line 47: | ||
* ReNamer will create random numbers with specified length (number of digits). So a length of 4 means the random digits will be from 0000 to 9999 (inclusive). | * ReNamer will create random numbers with specified length (number of digits). So a length of 4 means the random digits will be from 0000 to 9999 (inclusive). | ||
− | * Note that | + | * Note that random numbers are padded with leading zeroes by default |
|- | |- | ||
Line 57: | Line 57: | ||
|- | |- | ||
| Pad with zeros to reach length | | Pad with zeros to reach length | ||
− | | ReNamer will pad the remaining places with leading zeros. For example | + | | ReNamer will pad the remaining places with leading zeros. For example 457 becomes 000457 if it is padded to reach 6 digits, and 0457 if padded to 4 digits. |
|- | |- | ||
Line 65: | Line 65: | ||
{| class="prettytable" | {| class="prettytable" | ||
| Prefix | | Prefix | ||
− | | Before the original | + | | Before the original filename |
|- | |- | ||
| Suffix | | Suffix | ||
− | | After the original | + | | After the original filename |
− | * If the '''skip extension '''option is selected, the specified text will be inserted '' | + | * If the '''skip extension''' option is selected, the specified text will be inserted ''before'' the extension. |
|- | |- | ||
| Position | | Position | ||
− | | Insert the | + | | Insert the number at the specified position. |
|} | |} |
Revision as of 13:57, 26 August 2009
Serialize Rule
This rule works on a set of files, and inserts incremental numeric series or random sequences of digits in the names of those filenames.
When the incremental option is chosen, the files listed in the pane are numbered in ascending order. Thus, the position of the file in the Files pane becomes important. Check the order of the files in the list before applying this rule.
Examples:
- You have a bunch of log files, and you want to make them look like "log0001", "log0002", "log0003", etc.
- You want to force specific sorting for files: "01 - Song XYZ", "02 - Song ABC", "03 - Song YYY", etc.
The parameters are as follows:
Parameter | Details | ||||||
---|---|---|---|---|---|---|---|
Incremental | Inserts serialized numbers in the names of the files placed in the Files pane of ReNamer.
| ||||||
Random | Inserts a random number in the file name.
| ||||||
Pad with zeros to reach length | ReNamer will pad the remaining places with leading zeros. For example 457 becomes 000457 if it is padded to reach 6 digits, and 0457 if padded to 4 digits. | ||||||
Insert where | Specify where to insert the number.
Note that if the "pad with zeros" option (above) is selected, the padded number is inserted. |