Difference between revisions of "ReNamer:Rules"

From den4b Wiki
Jump to navigation Jump to search
(coppied from "rules:overview" and converted rules to links)
 
(Added the Padding rule.)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Overview of Rules ==
+
{{Go|up=ReNamer}}
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.
+
== Overview of Rules  ==
  
{| class="prettytable"
+
ReNamer has an extensive set of rules. These rules can be combined together, in a logical sequence, to perform nearly any thinkable operation with the filename. You can also [[ReNamer:Manual editing|manually edit]] the name of any file.
! Rules
+
 
 +
The table below lists all rules, with a brief description of each rule. <br>The subsequent chapters provide more details for each rule (follow the links).
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Rules  
 
! Description
 
! Description
 
 
|-
 
|-
| [[ReNamer:Rules:Insert|Insert]]
+
| [[ReNamer:Rules:Insert|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.
+
| Insert the specified text into the filename: as prefix, as suffix, at the specified position, before- or after the specified text. There is also an option to insert meta tags into the filename.
 
+
|-
 +
| [[ReNamer:Rules:Delete|Delete]]
 +
| Delete a portion of the filename, usually defined by character positions: from the specified position, from the occurrence of the specified delimiter, until the specified number of characters, until occurrence of the specified delimiter or till the end. This rule can be set to process the filename in a right-to-left manner.
 
|-
 
|-
| [[ReNamer:Rules:Delete|Delete]]
+
| [[ReNamer:Rules:Remove|Remove]]  
| 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 the specified text from the filename: first, last or all occurrences. Optionally, wildcards can be used within this rule, to remove masked text fragments.
 
 
 
|-
 
|-
| [[ReNamer:Rules:Remove|Remove]]
+
| [[ReNamer:Rules:Replace|Replace]]  
| Remove specified text from the filename: first, last or all occurrences. Optionally, wildcards can be used within this rule, to remove masked text fragments.
+
| This rule is very much like the '''Remove '''rule (above). It has similar options, except that instead of removing the text fragments, it will replace them with the specified text.
 
 
 
|-
 
|-
| [[ReNamer:Rules:Replace|Replace]]
+
| [[ReNamer:Rules:Rearrange|Rearrange]]  
| 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.
+
| Chop up the existing file name using any delimiter or position and reuse any/all of the parts in any order to compose a new name.Add your strings, or use the meta tags extracted from the file to compose the new name.<br>
 
 
 
|-
 
|-
| [[ReNamer:Rules:Extension|Extension]]
+
| [[ReNamer:Rules:Extension|Extension]]  
 
| Change extension of files to the specified extension, or to the extension automatically detected through the internal database of binary signatures.
 
| Change extension of files to the specified extension, or to the extension automatically detected through the internal database of binary signatures.
 
 
|-
 
|-
| [[ReNamer:Rules:Strip|Strip]]
+
| [[ReNamer:Rules:Strip|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.
+
| Strip all occurrences of the specified characters from the filename. This rule has predefined character sets, like digits, symbols, brackets, but you can also define your own character set.
 
+
|-
 +
| [[ReNamer:Rules:Case|Case]]
 +
| Change the case of the filename: capitalize each word, to lower case, to upper case, invert case, or capitalize only the first letter and force the rest to lowercase (as in a sentence). There is also an option to force case for the manually entered fragments, for example: CD, DVD, India, ReNamer, etc.
 +
|-
 +
| [[ReNamer:Rules:Serialize|Serialize]]
 +
| Add incremental numbers to put filenames into an order.
 
|-
 
|-
| [[ReNamer:Rules:Case|Case]]
+
| [[ReNamer:Rules:Randomize|Randomize]]
| 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.
+
| Add randomly generated sequences into filenames.
 
 
 
|-
 
|-
| [[ReNamer:Rules:Serialize|Serialize]]
+
| [[ReNamer:Rules:Padding|Padding]]
| Serialize rule uses numeric incremental or random sequences of digits to put filenames into an order.
+
| Apply or remove zero padding to/from number sequences, or add text padding using custom characters.
 
 
 
|-
 
|-
| [[ReNamer:Rules:CleanUp|CleanUp]]
+
| [[ReNamer:Rules:CleanUp|CleanUp]]  
| Cleanup filenames from/for commonly used naming conventions for internet, peer-to-peer networks, and other resources.
+
| Cleanup filenames from (or for) commonly used naming conventions for Internet, peer-to-peer networks, and other resources.
 
 
 
|-
 
|-
| [[ReNamer:Rules:Translit|Translit]]
+
| [[ReNamer:Rules:Translit|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.
+
| Transliterate Non-English characters from different languages into their English/Latin representation. Useful for preparing files for network storage and transfer. Several transliteration maps are built in, and you can define your own maps.
 
 
 
|-
 
|-
| [[ReNamer:Rules:RegEx|RegEx]]
+
| [[ReNamer:Rules:RegEx|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!  
+
|  
 +
RegEx (=Regular Expressions) is used for complex pattern/expression matching and replacing operations. <br>Although it may look complex at first, you can learn it quite easily, using the guide provided in this manual!  
  
 
|-
 
|-
| [[ReNamer:Rules:PascalScript|PascalScript]]
+
| [[ReNamer:Rules:PascalScript|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.
 
| 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.
 
 
|-
 
|-
| [[ReNamer:Rules:UserInput|UserInput]]
+
| [[ReNamer:Rules:UserInput|UserInput]]  
 
| Rule that simply sets the new names of the files to the names entered in a list (one name per line).
 
| Rule that simply sets the new names of the files to the names entered in a list (one name per line).
 +
|-
 +
| [[ReNamer:Rules:ReformatDate|ReformatDate]]
 +
| Change format of date/time values in the filename.
 +
|}
  
|}
+
[[Category:ReNamer]]
Each of these rules are explained in the following sections.
 

Revision as of 11:56, 6 October 2020

Arrow Return.png ReNamer  

Overview of Rules

ReNamer has an extensive set of rules. These rules can be combined together, in a logical sequence, to perform nearly any thinkable operation with the filename. You can also manually edit the name of any file.

The table below lists all rules, with a brief description of each rule.
The subsequent chapters provide more details for each rule (follow the links).

Rules Description
Insert Insert the specified text into the filename: as prefix, as suffix, at the specified position, before- or after the specified text. There is also 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 the specified number of characters, until occurrence of the specified delimiter or till the end. This rule can be set to process the filename in a right-to-left manner.
Remove Remove the 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 the Remove rule (above). It has similar options, except that instead of removing the text fragments, it will replace them with the specified text.
Rearrange Chop up the existing file name using any delimiter or position and reuse any/all of the parts in any order to compose a new name.Add your strings, or use the meta tags extracted from the file to compose the new name.
Extension Change extension of files to the specified extension, or to the extension automatically detected through the internal database of binary signatures.
Strip Strip all occurrences of the specified characters from the filename. This rule has predefined character sets, like digits, symbols, brackets, but you can also define your own character set.
Case Change the case of the filename: capitalize each word, to lower case, to upper case, invert case, or capitalize only the first letter and force the rest to lowercase (as in a sentence). There is also an option to force case for the manually entered fragments, for example: CD, DVD, India, ReNamer, etc.
Serialize Add incremental numbers to put filenames into an order.
Randomize Add randomly generated sequences into filenames.
Padding Apply or remove zero padding to/from number sequences, or add text padding using custom characters.
CleanUp Cleanup filenames from (or 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. Several transliteration maps are built in, and you can define your own maps.
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).
ReformatDate Change format of date/time values in the filename.