ReNamer:Rules
Jump to navigation
Jump to search
Overview of Rules
ReNamer has an extensive rules set. These rules can be combined together, in a logical sequence, to perform nearly any thinkable operation with the filename. You can also manually enter the new name for any file.
The table below lists available rules with a brief description of each of the rule. The subsequent chapters provide more details for each rule.
Rules | Description |
---|---|
Insert | Insert specified text into the filename: as prefix, as suffix, at the specified position, before or after specified text. There is an option to insert meta tags into the filename. |
Delete | Delete a portion of the filename usually defined by character positions: from the specified position, from the occurrence of the specified delimiter, until number of characters, until occurrence of the specified delimiter, or till the end. Rule can be inverted to process filename in a right-to-left manner. |
Remove | Remove specified text from the filename: first, last or all occurrences. Optionally, wildcards can be used within this rule, to remove masked text fragments. |
Replace | This rule is very much like Remove rule (above), with similar options, except instead of removing the text fragments it will replace them with the specified text. |
Extension | Change extension of files to the specified extension, or to the extension automatically detected through the internal database of binary signatures. |
Strip | Strip characters from the filename. Rule has predefined character sets, like digits, symbols, brackets, but you can also define your own character set. Every occurrence of each of the specified characters will be removed from the filename. |
Case | Change the case of the filename: capitalize, to lower case, to upper case, invert case, and put only first letter capital (like in a sentence). There is also an option to force case for the manually entered fragments, for example: CD, DVD, DJ, etc. |
Serialize | Serialize rule uses numeric incremental or random sequences of digits to put filenames into an order. |
CleanUp | Cleanup filenames from/for commonly used naming conventions for internet, peer-to-peer networks, and other resources. |
Translit | Transliterate Non-English characters from different languages into their English/Latin representation. Useful for preparing files for network storage and transfer. The mappings of characters have to be specified by you. Several examples are included in the rule. |
RegEx | RegEx (=Regular Expressions) is used for complex pattern/expression matching and replacing operations. Although it may look complex at first, you can learn it quite easily, using the guide provided in this manual! |
PascalScript | Scripting allows programming-aware users to code their own renaming rule using predefined set of functions. This rule uses Pascal/Delphi programming syntax and conventions. Extremely powerful feature in the right hands. |
UserInput | Rule that simply sets the new names of the files to the names entered in a list (one name per line). |
Each of these rules are explained in the following sections.