Delete duplicate files - Pl. Help!

singenaadam

Level H
I had merged two folders. Now there are ~60,000 files spread across the ~50 sub-folders.

The duplicates have (2) appended by SynToy (it freaks out once in a while).

Is there a way to delete them using some app. using wildcard - something that would mean in normal English:
"delete all files in all sub-folders with filename ending in (2)"

Pl. help!
 
Thanks @ayanavish , (I tried the stuff, apparently Duplicate File Cleaner is better of the lot) - but my problem is that the duplicates have the "(2)" appended. So they do not show up in the searches of the typical apps.
 
Try this powershell command
Code:
Get-ChildItem -Path C:\Test -Recurse -force | Where-Object { -not ($_.psiscontainer) } | Remove-Item -include *+"(2).txt" -Force

Sigh! doesn't work. Deletes all files. Need some more tweaking.
 
Last edited:
@Jambumali
I have been using a program named "DoubleKiller" very old and small in size (800kb).
It have options to search files based on same name, checksum, dates, size. It also take additional parameters along with wild card characters.
 
You could've selected all the duplicate files in one go if the extensions were same. Now search for individual file types at the folder level and delete them.

search strings; use with quotes:

"* (2).txt"
"* (2).lit"
"* (2).pdf"
"* (2).doc"
"* (2).mobi"
 
Back
Top