• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 75
  • Last Modified:

Windows7 - How do I locate files on my "C" drive with duplicate names or identical sizes

How do I locate files on my "C" drive with duplicate names or identical sizes?
5 Solutions
generate the full list with the FIND command

rename the list as .csv

open in excel



or if you have cygwin or unix tools installed

find /cygdrive/c | sort | uniq -c | sed -e '/^[[:space:]]*1[[:space:]]/ d ; s/^[[:space:]]*[0-9][0-9]*[[:space:]]*//'
Scott CSenior Systems EnginerCommented:
The term for what you are trying to do is "deduplication".

Here is a utility to do just that....http://www.sentex.net/~mwandel/finddupe/

Now, of course, BEFORE you perform an operation such as this, you will want to make a full backup of the drive/computer you are deduplicating.
John HurstBusiness Consultant (Owner)Commented:
Your other question dealt with top 50 or 100 files. TreeSize Pro does that.

TreeSize Pro also comes with a File Search function that can readily find duplicate files. That works as well.

One tool, modestly priced, does everything you want.   (Jam Software)
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Joe Winograd - EE Fellow & MVEDeveloperCommented:
As I mentioned at your other question, NirSoft's SearchMyFiles can do this. In this case, select Duplicates Names Search, which has four modes:

Show all duplicate names (Files and Folders)
Show all duplicate names - only files, no folders
Show only duplicate names with identical content
Show only duplicate names with non-identical content

I like excluding the Recycle Bin, which often results in meaningless duplicates:

SearchMyFiles duplicate names search
You can then do everything mentioned in my post at your other question, such as specifying the columns, sorting by Size, loading it into Excel, etc. Here's an example on my D:\ drive showing some of the duplicates (notice the nice color-coding scheme that it provides):

SearchMyFiles duplicates report
Regards, Joe
Dave BaldwinFixer of ProblemsCommented:
You should probably restrict your search to your own data files.  It is not unusual for programs to have their own copies of common files in their own directories.  If you remove duplicates from there, you may find that some programs no longer run.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now