Difference between revisions of "ReNamer:Renaming files"

From den4b Wiki
Jump to navigation Jump to search
(rephrased and removed preview screenshot)
Line 4: Line 4:
  
 
#The [[ReNamer:Adding files and folders#Marking_and_Unmarking_the_files|marked files]] are renamed according to the '''Path''' and '''New Path''' columns in the '''Files''' pane.
 
#The [[ReNamer:Adding files and folders#Marking_and_Unmarking_the_files|marked files]] are renamed according to the '''Path''' and '''New Path''' columns in the '''Files''' pane.
 +
#* If some of the rules do not ''seem'' to have applied, the reason could be that the ReNamer is in [[ReNamer:Previewing_files#Manual_Preview_mode|Manual Preview]] mode and you did not refresh the preview after adding/editing some of the rules. To update the preview, press the [[Image:PreviewButton.png]] button again.
 +
#* If your set of rules is not meant to move files from one folder to another, you can as well assume that files are renamed according to the '''Name''' and '''New Name''' columns of the '''Files''' pane.
  
:*If some of the rules do not ''seem'' to have applied, the reason could be that the ReNamer is in [[ReNamer:Previewing_files|'''Manual Preview''' mode]], and you did not refresh the preview after adding/editing some of the rules. (ReNamer has a WYSIWYG policy, the items are renamed exactly as shown in the '''New Path''' column.) To update the preview, press the [[Image:PreviewButton.png]] button again.
+
# The '''Name''' column now contains the new name of the item, and  
:*If your set of rules is not meant to move files from one folder to another, you can as well assume that files are renamed according to the '''Name''' and '''New Name''' columns of the '''Files''' pane.
+
# The '''New Name''' column becomes empty (because it is supposed to show a preview of the ''proposed'' new name. So once the file is renamed, there is no ''new name'' any more.)
 
 
#The '''Name''' column now contains the new name of the item, and  
 
#The '''New Name''' column becomes empty (because it is supposed to show a preview of the ''proposed'' new name. So once the file is renamed, there is no ''new name'' any more.)
 
  
 
After the renaming is over, ReNamer can do a lot of other things depending on the [[ReNamer:Program settings#Rename_settings|Program settings for renaming]]. For example, it can automatically clear off the '''Rules''' and/or the '''Files''' pane or close the ReNamer window automatically.  
 
After the renaming is over, ReNamer can do a lot of other things depending on the [[ReNamer:Program settings#Rename_settings|Program settings for renaming]]. For example, it can automatically clear off the '''Rules''' and/or the '''Files''' pane or close the ReNamer window automatically.  
  
 
=== When is a file considered "renamed successfully"?  ===
 
=== When is a file considered "renamed successfully"?  ===
<center>[[Image:Preview.png]]</center>
 
Look at the first file (Unchanged file.doc) in the above screenshot. That file is not affected by the current set of rules. Yet, so far as ReNamer is concerned, all the marked rules ''were'' applied to it, and the renaming operation (consisting of renaming ''Unchanged file.doc'' into ''Unchanged file.doc'') didn't give any errors, so ReNamer considers that this file was successfully renamed.
 
  
Each renaming operation can have four different outcomes:  
+
Each renaming operation can have one of the following outcomes:  
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 34:
 
|}
 
|}
  
You can set ReNamer's [[ReNamer:Program settings#Rename_settings|Program settings]] to take some conditional actions on the files based on their outcome. For example, you can clear off the files that were NOT renamed in the current round of renaming.
+
You can set ReNamer's [[ReNamer:Program settings#Rename_settings|Program settings]] to take some conditional actions on the files based on their outcome. For example, you can clear off the files that were successfully renamed.
 +
 
 +
'''Note:''' When the new name of the file is the same as the original name the renaming operation is still performed, but without any changes applied. It is important to note that such renaming operation can still [[ReNamer:Failed renaming|fail]], for example, because the original file no longer exists.
  
 
[[Category:ReNamer]]
 
[[Category:ReNamer]]

Revision as of 23:59, 22 March 2014

When the RenameButton.png button is pressed, the following things happen:

  1. The marked files are renamed according to the Path and New Path columns in the Files pane.
    • If some of the rules do not seem to have applied, the reason could be that the ReNamer is in Manual Preview mode and you did not refresh the preview after adding/editing some of the rules. To update the preview, press the PreviewButton.png button again.
    • If your set of rules is not meant to move files from one folder to another, you can as well assume that files are renamed according to the Name and New Name columns of the Files pane.
  1. The Name column now contains the new name of the item, and
  2. The New Name column becomes empty (because it is supposed to show a preview of the proposed new name. So once the file is renamed, there is no new name any more.)

After the renaming is over, ReNamer can do a lot of other things depending on the Program settings for renaming. For example, it can automatically clear off the Rules and/or the Files pane or close the ReNamer window automatically.

When is a file considered "renamed successfully"?

Each renaming operation can have one of the following outcomes:

Outcome Is it considered as successfully renamed?
A file that was unmarked (that is, was NOT marked for the current round of renaming)
No
A file name that was changed during the renaming operation.
Yes
A file name that did not change because none of the renaming rules were applicable.
Yes
A file name that caused error during renaming (e.g. invalid file name, name conflict, etc.)
No

You can set ReNamer's Program settings to take some conditional actions on the files based on their outcome. For example, you can clear off the files that were successfully renamed.

Note: When the new name of the file is the same as the original name the renaming operation is still performed, but without any changes applied. It is important to note that such renaming operation can still fail, for example, because the original file no longer exists.