Difference between revisions of "ReNamer:Rules:CleanUp"

From den4b Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== CleanUp Rule  ==
 
== CleanUp Rule  ==
 
<center>[[Image:CleanUpRule.png]]</center>  
 
<center>[[Image:CleanUpRule.png]]</center>  
This rule cleans up the filenames for commonly used naming conventions for internet, peer-to-peer networks, and other resources. Multiple problems can be removed at once.  
+
This rule cleans up the filenames for commonly used naming conventions for internet, peer-to-peer networks and other resources. Multiple problems can be removed at once.  
  
 
The parameters are as follows:  
 
The parameters are as follows:  
Line 11: Line 11:
 
|-
 
|-
 
| Strip out content of brackets  
 
| Strip out content of brackets  
| A typical use of this option is to strip the needless comments attached to file-names, such as '''(best!!)'''.  
+
| A typical use of this option is to strip the needless comments attached to filenames, such as '''(best!!)'''.  
 
*This option removes the brackets also.  
 
*This option removes the brackets also.  
 
*You can select any/all of the various types of brackets.
 
*You can select any/all of the various types of brackets.
Line 22: Line 22:
 
|-
 
|-
 
|Fix spaces
 
|Fix spaces
|Replace multiple consecutive spaces with a single space.  
+
|Replace multiple consecutive spaces with a single space.
Remove spaces at the beginning and end of the base name.
+
It also removes spaces from the beginning and the end of the filename:
 +
*If '''skip extention''' is selected it removes spaces from the beginning and end of the ''base name'' (''before'' the extention).<br>
 +
*If '''skip extention''' is deselected it removes spaces from the beginning and from the end of the ''filename'' (''after'' the extention).
 +
 
 
|-
 
|-
 
|Insert a space in front of capitalized letters
 
|Insert a space in front of capitalized letters
Line 35: Line 38:
 
| Prepare for SharePoint  
 
| Prepare for SharePoint  
 
| Prepares the file for hosting it on [http://www.microsoft.com/sharepoint/prodinfo/what.mspx Microsoft Sharepoint].  
 
| Prepares the file for hosting it on [http://www.microsoft.com/sharepoint/prodinfo/what.mspx Microsoft Sharepoint].  
#strip standard forbidden filename characters  
+
#strips standard forbidden filename characters  
#strip consecutive dots  
+
#strips consecutive dots  
#strip '#', '%', '~', '&amp;'  
+
#strips '''#''', '''%''', '''~''', '''&amp;'''  
#replace { and } with ( and )
+
#replaces '''{''' and '''}''' with '''(''' and ''')'''
  
 
|-
 
|-
 
| Skip extension  
 
| Skip extension  
| If this check box is unselected, the extension will be included in the rule.
+
| If this check box is selected, the extension will be ignored by the rule.
 
|}
 
|}

Revision as of 14:41, 26 August 2009

CleanUp Rule

CleanUpRule.png

This rule cleans up the filenames for commonly used naming conventions for internet, peer-to-peer networks and other resources. Multiple problems can be removed at once.

The parameters are as follows:

Parameter
Details
Strip out content of brackets A typical use of this option is to strip the needless comments attached to filenames, such as (best!!).
  • This option removes the brackets also.
  • You can select any/all of the various types of brackets.

If you do NOT want to delete the content within the brackets, use the Strip rule instead.

Replace these characters with spaces These characters occurring in the file names are removed and a space is inserted in their place.
Fix spaces Replace multiple consecutive spaces with a single space.

It also removes spaces from the beginning and the end of the filename:

  • If skip extention is selected it removes spaces from the beginning and end of the base name (before the extention).
  • If skip extention is deselected it removes spaces from the beginning and from the end of the filename (after the extention).
Insert a space in front of capitalized letters Often words in the file name are just joined together, without spaces or underscores to separate them. Each word begins with a capital letter, so that you can read it easily.

This option separates such words in the file name.

For example, SeparateTheseWords.pdf becomes Separate These Words.pdf.

(Note that if there is a capitalized letter at the very beginning of the name, ReNamer does NOT add a space before it.)

Prepare for SharePoint Prepares the file for hosting it on Microsoft Sharepoint.
  1. strips standard forbidden filename characters
  2. strips consecutive dots
  3. strips #, %, ~, &
  4. replaces { and } with ( and )
Skip extension If this check box is selected, the extension will be ignored by the rule.