ReNamer:Renaming files

From den4b Wiki
Jump to navigation Jump to search

When the [[Image:]] button is pressed, the following things happen:

  1. The marked rules are applied to the marked files. Those files are renamed.
  2. 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?

When is a file considered “renamed successfully?

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:


Outcome
Is it considered as successful renaming?
1
A file that was deselected (i.e., was not marked for the current round of renaming)
No
2
A file name that was changed when the rules were applied.
Yes
3
A file name that did not change when the rules were applied.
Yes
4
A file name that caused error when the rules were applied.(e.g. invalid file name, name conflict, etc.)
No

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?