Difference between revisions of "ReNamer:Renaming files"

From den4b Wiki
Jump to navigation Jump to search
m (Text replacement - "Main Menu and keyboard shortcuts" to "Main menu")
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
When the [[Image:]] button is pressed, the following things happen:
+
{{Go|up=ReNamer:Step-by-step|prev=ReNamer:Previewing files}}
  
# The marked rules are applied to the marked files. Those files are renamed.
+
When the [[Image:RenameButton.png]] button is pressed, the following happens:
# The '''New Name''' column becomes empty (because it shows a ''proposed'' new name temporarily; and once the file is renamed, there is no proposed new name left.)
 
  
After the renaming is over, ReNamer can do a lot of other things depending on the [#5.3.3.Rename settings|outline program settings for renaming]. For example, do you want to automatically clear off the '''Rules''' and/or the '''Files''' pane? Do you want to close the ReNamer window automatically?
+
# The [[ReNamer:Adding files and folders#Marking_and_Unmarking_the_files|marked files]] are renamed according to the '''Name''' and '''New Name''' columns (or '''Path''' and '''New Path''' if changes affect the full path) 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.
 +
# The '''Name''' column now contains the new name of the item, and
 +
# The '''New Name''' column becomes empty
 +
#* 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.
 +
# Old names are remembered to allow reverting of the changes using the '''Undo Renaming''' option from the [[ReNamer:Main menu|Main Menu]].
  
=== When is a file considered “renamed successfully”? ===
+
After the renaming is complete various additional actions can be performed based on [[ReNamer:Program settings#Rename_settings|Program settings for renaming]]. For example, the list of '''Rules''' and '''Files''' can be automatically cleared off, or program can automatically close.  
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 so ReNamer considers that this file was successfully renamed.
 
  
Each renaming operation can have four different outcomes:
+
=== When is a file considered "renamed successfully"?  ===
  
 +
Each renaming operation can have one of the following outcomes:
  
{| class="prettytable"
+
{| class="wikitable"
|  
+
|-
| <center>'''Outcome'''</center>
+
! Outcome  
| <center>'''Is it considered as successful renaming?'''</center>
+
! Is it considered as successfully renamed?
 
 
 
|-
 
|-
| <center>1</center>
+
| A file that was [[ReNamer:Adding files and folders#Marking_and_Unmarking_the_files|unmarked]] (that is, was NOT marked for the current round of renaming)  
| A file that was deselected (i.e., was not marked for the current round of renaming)
 
 
| <center>No</center>
 
| <center>No</center>
 
 
|-
 
|-
| <center>2</center>
+
| A file name that was changed during the renaming operation.  
| A file name that was changed when the rules were applied.
 
 
| <center>Yes</center>
 
| <center>Yes</center>
 
 
|-
 
|-
| <center>3</center>
+
| A file name that did not change because none of the renaming rules were applicable.  
| A file name that did not change when the rules were applied.
 
 
| <center>Yes</center>
 
| <center>Yes</center>
 
 
|-
 
|-
| <center>4</center>
+
| A file name that [[ReNamer:Failed renaming|caused error]] during renaming (e.g. invalid file name, name conflict, etc.)  
| A file name that caused error when the rules were applied.(e.g. invalid file name, name conflict, etc.)
 
 
| <center>No</center>
 
| <center>No</center>
 +
|}
 +
 +
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]]
The Rename settings also decide what ReNamer will do with the files based on their outcome. For example, do you want to clear off the files that were NOT renamed in the current round of renaming?
 

Latest revision as of 10:18, 6 July 2019

When the RenameButton.png button is pressed, the following happens:

  1. The marked files are renamed according to the Name and New Name columns (or Path and New Path if changes affect the full path) 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.
  2. The Name column now contains the new name of the item, and
  3. The New Name column becomes empty
    • 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.
  4. Old names are remembered to allow reverting of the changes using the Undo Renaming option from the Main Menu.

After the renaming is complete various additional actions can be performed based on Program settings for renaming. For example, the list of Rules and Files can be automatically cleared off, or program can automatically close.

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.