1.    22 Jan 2016 #1
    Join Date : Jan 2016
    Posts : 1
    Win 10 6 bit

    Removing duplicate files

    I don't trust free duplicate file finders. Is there a way to find and delete duplicate files easily from a folder in Windows 10 that does not require using another program?
      My ComputerSystem Spec
  2.    22 Jan 2016 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,106
    Win 10 Pro (1703)

    Well, you could upload files and have their hash computed and do it that way, but that would be gloriously inefficient...
    MD5 File - HTML5 File Hash Online Calculator - MD5, SHA1, SHA2 (SHA-256), SHA-384, SHA-512

    Then you've got music file matching- and specialised programs - just an example where similar (not identical) files might be identified..

    Additional columns in explorer offer nothing useful in this regard.
      My ComputerSystem Spec
  3.    21 Oct 2016 #3
    Join Date : Mar 2016
    Posts : 167
    win 10 HOME

    If I May you could use ccleaner's duplicate finder i use it on my external drive (not C drive) just to weed out most of my junk (my C is only for programs and OS)
      My ComputerSystem Spec
  4.    21 Oct 2016 #4
    Join Date : Oct 2016
    Posts : 187

    Hashing is a good idea since hash algorthims look at file data and not the meta data. Here is a powershell script I put together which should move all duplicates to a folder called "Duplicates" then you can just delete the folder.
    path = "C:\Path\Root\Seach"
    $duplicates = "$path\Duplicates"
    New-Item $duplicates -ItemType Directory
    $files = Get-ChildItem -Path $path -File
    $fileHashes = @()
    foreach($file in $files)
        $thisFileHash = Get-FileHash -Algorithm SHA256 -Path $file.FullName
        if ($fileHashes.Count -eq 0)
            $fileHashes += @($thisFileHash.Hash)
            $isDuplicate = $false
            foreach ($fileHash in $fileHashes)
                if($fileHash -eq $thisFileHash.Hash)
                    $isDuplicate = $true
                Move-Item -Path $file.FullName -Destination "$($duplicates)\$($file.Name)"
                $fileHashes += @($thisFileHash.Hash)
      My ComputerSystem Spec


Similar Threads
Thread Forum
Duplicate files/folders
I am after some software that will help me remove duplicate files. In this case, some program seems to have recreated duplicate folders with just a file called "desktop.ini" in it. I would like to be able to search for that and remove all the...
Software and Apps
Duplicate files in Win 10 Startup folder
I wanted to have the OpenVPN-GUI open on boot so I may have caused two copies to appear in the Startup folder. In any case, it does not open on boot and I have to start it manually. On the other hand, there is only a disable function so I wanted to...
General Support
Google Drive Duplicate Files
I use Google Drive instead of the product offered by Microsoft, because I am heavily invested in the Google universe already. The one annoyance of Google Drive is that it randomly generates duplicate files during the sync process. Instead of...
Chillout Room
Why to size differences in Windows 10 files? Also a question removing.
Two not to, sorry about that. I have two ASUS Computers. G73SW from Win7pro to Win10 Win10 program 1size 18.7gb 92,424 files. Old Win 27.2gb 117.322 files. G73JH from Win 8.1 to Win10 program size 16.9gb 104.641 files. Old Win 16.466gb...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:31.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums