Page 1 of 1

Deleting only those dupes that appear in certain folders

Posted: Tue Mar 12, 2013 10:31 pm
by tonyaldr
Can you help me set up a filter to delete only those duplicates that appear in certain folders? I did a scan of x:\data3 and want only to delete any dupes that appear in the following -

x:\data3\project arson\archive (all folders down)
x:\data3\project quigley\ (only this specific folder and not child folders)

Thanx!

Re: Deleting only those dupes that appear in certain folders

Posted: Tue Mar 12, 2013 10:41 pm
by Support
Sort the list by clicking on the "In Folder" header column, then select the block of duplicates in question (click on the first line, then shift+click on the last line) which falls within your parameters, then click on the "Select all" button to tag all but the first duplicate in each set for the selected block.

Re: Deleting only those dupes that appear in certain folders

Posted: Wed Mar 13, 2013 9:55 am
by tonyaldr
That's a good way to do it if there are only a few dupes and a few folders, but there are thousands of files and hundreds of folders. I was hoping for a filter solution. Can it be done?

Re: Deleting only those dupes that appear in certain folders

Posted: Wed Mar 13, 2013 10:32 am
by Support
This method works on the entire list, not only those within a set. Beside this, there is no other way!

Re: Deleting only those dupes that appear in certain folders

Posted: Wed Mar 13, 2013 3:25 pm
by tonyaldr
I thought the filters would work. Oh well.....

Re: Deleting only those dupes that appear in certain folders

Posted: Wed Mar 13, 2013 3:34 pm
by Support
Which filters? Do you mean the one on the first page? Those are filters to scan only for specific files, like mp3 only.

So what you need is a filter to only select dups in the list. I think what we can do is add a Wildcard select button where you can enter x:\data3\project quigley\* (no sub) and that will select all dups matching it. Then you do it again for x:\data3\project arson\archive* (with subs) to add those as well to the selection. Then use the "Select all" button to mark all but one of each sets. Will that work for you?

Re: Deleting only those dupes that appear in certain folders

Posted: Thu Mar 14, 2013 6:42 am
by tonyaldr
That would be perfect. Is that feasible?

Re: Deleting only those dupes that appear in certain folders

Posted: Thu Mar 14, 2013 9:38 pm
by Support
Sorry, but I forgot that CloneMaster already do this! So click on the Filter button and use the following regular expression...

Code: Select all

(^x\:\\data3\\project\sarson\\archive.*)|(x\:\\data3\\project\squigley\\[^\\]+)