topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: xplorer² - Discover duplicate files on different partitions  (Read 2020 times)

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,540
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Really handy post from zabkat.com, copied below:
Discover duplicate files on different partitions
(Read the original post to see all the embedded links.)
Some time ago I blogged about finding duplicate MP3 files in a simple situation, where all files where known to reside under a single parent folder. There all we had to do was browse the parent folder and use Tools > Check duplicates menu command. But life isn't always that easy. You may have placed duplicate pictures, videos or whatever on both an old external and your new hard disk. How can you discover such duplicates lying far away in the filesystem?

xplorer² duplicate checking engine doesn't care about locations. All it needs is a scrap window with a collection of files, then it checks the files present for duplicates. The simple Check duplicates menu first flattens the local folder hierarchy, extracting all files in all subfolders, then uses the command parameters to discover duplicate files. A naive approach would be to flatten all the files and folders in your system starting from My Computer folder, and check for duplicates among all your files — but that would take ages. If you know where the files reside (approximately), it will be much better to extract only the folders involved, narrowing the number of files checked.

Let's say you have music files under C:\MUSIC and D:\TEMP\AUDIO. To check duplicates in these 2 folders, browse flat the first one (use the command in File menu), extracting all its contents in a scrap container window. Then select the second folder, drag it with the right mouse button and drop it in the same scrap container, and pick Browse flat command from the context menu. Now you have all the files to be checked, from both C: and D: locations, in a single collection; all that's left is to click on the Duplicates toolbar button in the scrap window to start the checking. If you have more folders to check just add them flat to the collection with right-dragging.
 
TIP: If you have many folders to flatten it may be easier to do it in two steps: first put all the folders (normal, not flat) in a scrap container, then use View > Dual pane menu to turn on the second pane in the scrap. Select all the folders in the left pane and press <Alt+Return> key combination. Presto, all the folders will be flattened in the right hand side pane!

Delete the duplicates
Once you discover the duplicate files most likely you'd want to remove them freeing up hard disk space. Manual selection of duplicates will be tedious, but xplorer² can help you:
  • You can ask the checker to select the duplicates before you start the examination (however this may be a bit ad-hoc as the current sort order will define which is the duplicate to leave intact)
  • Use the folder name (path column) as a criterion to select after the check is complete. For example quickly select all items with D:\ in their path.

Remember working in a scrap container, pressing <DEL> key doesn't delete files, only removes them from view. To remove the duplicates from disk use File > Delete menu command.

Here is a demo video explaining the techniques in this blog. play