Difference between revisions of "ReNamer:Rules:Serialize"
Jump to navigation
Jump to search
(Created page with '== Serialize Rule == [[Image:]] This rule works on a set of files, and inserts a incremental numeric series or a random sequences of digits in the names of those file names. W...') |
m (general cleanup) |
||
Line 1: | Line 1: | ||
+ | {{Template:Cleanup}} | ||
+ | |||
== Serialize Rule == | == Serialize Rule == | ||
[[Image:]] | [[Image:]] | ||
Line 8: | Line 10: | ||
Examples: | Examples: | ||
− | # You have a bunch of log files, and you want to make them look like | + | # 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: | + | # You want to force specific sorting for files: "01 - Song XYZ", "02 - Song ABC", "03 - Song YYY", etc. |
The parameters are as follows: | The parameters are as follows: | ||
− | |||
{| class="prettytable" | {| class="prettytable" | ||
− | ! | + | ! Parameter |
− | ! | + | ! Details |
|- | |- | ||
| Incremental | | Incremental | ||
| Inserts serialized numbers in the names of the files placed in the Files pane of ReNamer. | | Inserts serialized numbers in the names of the files placed in the Files pane of ReNamer. | ||
− | |||
{| class="prettytable" | {| class="prettytable" | ||
Line 36: | Line 36: | ||
|} | |} | ||
− | |||
|- | |- | ||
| Random | | Random | ||
| Inserts a random number in the file name. | | Inserts a random number in the file name. | ||
− | |||
{| class="prettytable" | {| class="prettytable" | ||
| Length | | Length | ||
− | | Specify how many digits your | + | | Specify how many digits your random number should have. |
− | |||
− | |||
− | |||
− | |||
+ | * 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 the numbers are NOT padded by default | ||
|- | |- | ||
Line 58: | Line 54: | ||
|} | |} | ||
− | |||
|- | |- | ||
Line 67: | Line 62: | ||
| Insert where | | Insert where | ||
| Specify where to insert the number. | | Specify where to insert the number. | ||
− | |||
{| class="prettytable" | {| class="prettytable" | ||
Line 78: | Line 72: | ||
* If the '''skip extension '''option is selected, the specified text will be inserted ''after'' the extension. | * If the '''skip extension '''option is selected, the specified text will be inserted ''after'' the extension. | ||
− | |||
− | |||
|- | |- | ||
Line 86: | Line 78: | ||
|} | |} | ||
− | Note that if the | + | Note that if the "''pad with zeros''" option (above) is selected, the ''padded '' number is inserted. |
|} | |} |
Revision as of 17:33, 31 May 2009
Serialize Rule
[[Image:]]
This rule works on a set of files, and inserts a incremental numeric series or a random sequences of digits in the names of those file names.
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 list 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, a random number 457 becomes 000457 if the padded to 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. |