finding folders with duplicate files

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tiddu
Posts: 17
Joined: Wed May 27, 2020 7:11 am

finding folders with duplicate files

Post by tiddu »

i am using everything alpha. i can find duplicates via dupe functions. is there a way to use filecount or foldercountwith it such that i can get folders with certain number of duplicate files that are in other folders. and i can quickly compare the two folders in beyondcompare and delete.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: finding folders with duplicate files

Post by raccoon »

Hmm, not directly, not that I can think of.

What you could do is select all of the files that have a duplicate (across all folders/volumes) and then press F2 for Advanced Rename, and then rename all of the files to "(dupe) %1". Now you can search for all files that start with the word "(dupe)", perform counts and other maintenance that way. Renaming them back is just as easy.

Just stay out of your system folders.
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: finding folders with duplicate files

Post by void »

sizefilelist1: might help here.

Please make sure you are using the x64 version of Everything as sizefilelist1: is currently broken on x86.

Basically, search for the files of interest first, then find duplicated files:
  • In Everything, search for the files of interest, for example:
    ext:mp4;mkv size:>100mb
  • Select All (Ctrl + A)
  • Copy filenames to the clipboard (Ctrl + Shift + C)
  • Search for:
    sizefilelist1:
  • Hold down Ctrl and left-click the sizefilelist1: text in the search box.
  • Paste your filenames (Ctrl + V)
  • Click OK.
  • To ignore the original files, search for:
    sizefilelist1: !filelist1:
  • This will not list the total number of duplicates.
  • However, it may help reduce the number of unnecessary duplicated files with using the dupe:size dupe:name etc.. search functions.
Post Reply