how to know how many items were changed

Advanced Renamer forum
#1 : 05/09-19 10:37
Michael
Michael
Posts: 5
I've been looking but don't see a way to do this.
After execution of a batch, I would like to see how many items were actually changed.
All that is shown is the number of successful and number with errors.
For example, out of 500 items, I would like to know that only X were actually changed.
Is there a way to get this information after batch execution?
Thanks in advance!


05/09-19 10:37
#3 : 20/12-19 11:14
David Lee
David Lee
Posts: 1125
Reply to #1:
I don't think that this is possible within the program. However there is a rather clunky workaround.

Ensure that all the files entered in the list are selected in Windows Explorer. All files that are renamed will be deselected when you run the batch so the number of files still selected will be the number that have not been changed. You can use the "Invert Selection" command to see the number of changed files directly - provided all files in the foder had been entered into the list. You will need to take care not to deselect the files before you have determined the number!

Alternatively - if you carry out your renaming in a script you can move changed files to a new folder by changing item.newPath. Once you have determined the number of files in the new folder you can move them back to the original location from Windows Explorer.

eg to move the renamed file into a sub-folder of the original directorty:

item.newPath = item.path + "new_folder_name";


20/12-19 11:14 - edited 20/12-19 12:57