Delete dupes by folder name
Posted: Thu May 15, 2014 2:40 pm
I use Carbonite as my cloud backup. Recently I had to restore all files due to a hard drive crash. The restore was interrupted and happened twice. This resulted in many dupe entries like this (e.g. Group 54 listing):
"TAVStime2.xlsm C:\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
"TAVStime2.xlsm C:\Users\Dale\Carbonite Restore M17x\Dale\Carbonite Restore M17x\Users\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
"TAVStime2.xlsm C:\Carb Restore\Users\Dale\Carbonite Restore M17x\Dale\Carbonite Restore M17x\Users\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
My desire is to select, mark, and delete all dupes in all groups that meet these criteria:
IF a file in a group exists in any directory except C:\Users\Dale\Carbonite Restore M17x or C:\Carb Restore,
THEN delete all duplicate files in that group in directories C:\Users\Dale\Carbonite Restore M17x and C:\Carb Restore.
The net effect desired is to keep the top file shown in group 54 above, and delete the following two files. How can I accomplish this automagically? (221,394 duplicate files found)
"TAVStime2.xlsm C:\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
"TAVStime2.xlsm C:\Users\Dale\Carbonite Restore M17x\Dale\Carbonite Restore M17x\Users\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
"TAVStime2.xlsm C:\Carb Restore\Users\Dale\Carbonite Restore M17x\Dale\Carbonite Restore M17x\Users\Dale\Documents\02HumanResources\ 54 40.9 KB 2/8/2012 9:30:31 AM 2/8/2012 9:48:54 AM Microsoft Excel Macro-Enabled Worksheet 460872a4e9bdbab412bdb2c58d0e5712"
My desire is to select, mark, and delete all dupes in all groups that meet these criteria:
IF a file in a group exists in any directory except C:\Users\Dale\Carbonite Restore M17x or C:\Carb Restore,
THEN delete all duplicate files in that group in directories C:\Users\Dale\Carbonite Restore M17x and C:\Carb Restore.
The net effect desired is to keep the top file shown in group 54 above, and delete the following two files. How can I accomplish this automagically? (221,394 duplicate files found)