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

    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 System SpecsSystem Spec


  2. Joined : Jan 2015
    UK, Midlands
    Posts : 6,525
    Win 10 Pro (1607)
       22 Jan 2016 #2

    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 System SpecsSystem Spec


  3. Joined : Mar 2016
    Posts : 81
    win 10 HOME
       21 Oct 2016 #3

    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 System SpecsSystem Spec

  4.    21 Oct 2016 #4

    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.
    Code:
    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)
        }
        else
        {
            $isDuplicate = $false
            foreach ($fileHash in $fileHashes)
            {
                if($fileHash -eq $thisFileHash.Hash)
                {
                    $isDuplicate = $true
                    break
                }
            }
            if($isDuplicate)
            {
                Move-Item -Path $file.FullName -Destination "$($duplicates)\$($file.Name)"
            }
            else
            {
                $fileHashes += @($thisFileHash.Hash)
            }
        }
    }
      My System SpecsSystem Spec


  5. Joined : Oct 2016
    Posts : 1
    Windows 8
       24 Oct 2016 #5

    DuplicateFilesDeleter is a great deleter software.. Ic can delet all kind of file
      My System SpecsSystem 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 08:37.
Find Us
Twitter Facebook Google+



Windows 10 Forums