Difference between revisions of "ReNamer:Rules:Case"
Line 2: | Line 2: | ||
<center>[[Image:CaseRule.png]]</center> | <center>[[Image:CaseRule.png]]</center> | ||
− | + | This rule changes the case of the filename. Options are: capitalize, to lower case, to upper case, invert case, and put only first letter capital (as in a sentence). | |
− | There is also an option to force case for specific text-fragments, such as CD, DVD, RF, etc. These fragments would not look natural in any other case (e.g. cd, dvd, rf) | + | There is also an option to force case for specific text-fragments, such as CD, DVD, RF, etc. These fragments would not look natural in any other case (e.g. cd, dvd, rf), so the rule allows you to prevent changing the case of such terms in one stroke. |
The parameters are as follows: | The parameters are as follows: | ||
Line 13: | Line 13: | ||
|- | |- | ||
− | | | + | | Case change |
| Several options are offered. | | Several options are offered. | ||
* The case of each option itself illustrates how that option works. For example, '''Capitalise Every Word'''. | * The case of each option itself illustrates how that option works. For example, '''Capitalise Every Word'''. | ||
− | * | + | *'''Invert case''' will change all capital letters in the filename to lowercased ones, and all lowercased letters to capitalized ones. |
− | + | ||
− | * The '''(none of the above) '''option is to disable the case conversions listed on the left | + | * The '''(none of the above)''' option is provided to disable the case conversions listed on the left, so you could independently operate the two options listed on the right side. |
|- | |- | ||
| Skip extension | | Skip extension | ||
− | | If this check box is | + | | If this check box is selected, the extension will be ignored by the rule. |
|- | |- | ||
Line 30: | Line 30: | ||
| This check box is coupled with the box below it. | | This check box is coupled with the box below it. | ||
− | * Specify text fragments that must have a specific case. For example: | + | * Specify text fragments that must have a specific case. Case for these strings will be set as typed in the box regardless from options selected in '''Case change''' list. |
− | + | For example: | |
− | + | CD, DVD, TV, HTML, XML, C++, USA, | |
− | + | Java, India, English, Sunday, Easter, | |
− | + | OpenSUSE, OOo, ReNamer | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Put a comma between different fragments (in versions prior to v5.50 space was used instead of a comma). | * Put a comma between different fragments (in versions prior to v5.50 space was used instead of a comma). | ||
Revision as of 13:01, 26 August 2009
Case Rule
This rule changes the case of the filename. Options are: capitalize, to lower case, to upper case, invert case, and put only first letter capital (as in a sentence).
There is also an option to force case for specific text-fragments, such as CD, DVD, RF, etc. These fragments would not look natural in any other case (e.g. cd, dvd, rf), so the rule allows you to prevent changing the case of such terms in one stroke.
The parameters are as follows:
Parameter | Details |
---|---|
Case change | Several options are offered.
|
Skip extension | If this check box is selected, the extension will be ignored by the rule. |
Force case for fragments | This check box is coupled with the box below it.
For example: CD, DVD, TV, HTML, XML, C++, USA, Java, India, English, Sunday, Easter, OpenSUSE, OOo, ReNamer
|
Extension always lower case | Forces the extension to lowercase.
Note: This setting overrides any other setting that can alter the extension. For example, consider a case where the ALL UPPER CASE option is selected and the skip extension option is deselected. Logically, the extension should be converted into ALLCAPS. But if the Extension always lower case option is selected, the case of the extension will be converted to lowercase.This setting will override even the fragments case-conversion. |