renaming false positive duplicates
Posted: 03 May 2020, 03:55
Its time to do a bit of spring hard-drive cleaning, but I am having a very difficult time due to AllDup finding false positive duplicate filenames. I know that these findings are false simply by looking at the name of the folder. This name represents the name of the project, and the multiple files inside the project are saved with using variable flags. This method, if used properly, is to save the user time from manually configuring each file that gets packaged along with the current project. Prior to using Alldup, I did not know that Mudbox uses this method instead of packaging everything into one file. So now I am basically stuck with these false positive duplicates, but I can still resolve the problem if it is possible for AllDup to rename each file by adding the project folder name as a prefix to the original file. For example...
if the project name was called "Bowl of fruits", instead of having
if the project name was called "Bowl of fruits", instead of having
I highlighted the last folder in red to show that I want to use the name of the last folder to the filename. I thought since AllDup uses %1 and %2 as filename and file extension, maybe there is a percent variable for folders, such as %0root document folder\Bowl of fruits\Bowl of fruits V1\Default_Material_BaseColor.tif
root document folder\Bowl of fruits\Bowl of fruits V1\Default_Material_Rooughness.tif
root document folder\Bowl of fruits\Bowl of fruits V1\Default_Material_Metallic.tif
and..
root document folder\Bowl of fruits\Bowl of fruits V2\Default_material_BaseColor.tif
root document folder\Bowl of fruits\Bowl of fruits V2\Default_Material_Rooughness.tif
root document folder\Bowl of fruits\Bowl of fruits V2\Default_Material_Metallic.tif
I want to rename these files to....
root document folder\Bowl of fruits\Bowl of fruits V1\Bowl of fruits V1_BaseColor.tif
root document folder\Bowl of fruits\Bowl of fruits V1\Bowl of fruits V1_Roughness.tif
root document folder\Bowl of fruits\Bowl of fruits V1\Bowl of fruits V1_Metallic.tif
and..
root document folder\Bowl of fruits\Bowl of fruits V2\Bowl of fruits V2_BaseColor.tif
root document folder\Bowl of fruits\Bowl of fruits V2\Bowl of fruits V2_Roughness.tif
root document folder\Bowl of fruits\Bowl of fruits V2\Bowl of fruits V2_Metallic.tif