View on GitHub

File Dupe Pruner

C# Tool using Windows Forms that recursively detects and optionally moves duplicate files (as determined by binary comparison ignoring filenames) to a _Pruned folder for inspection by a human before deletion

Download this project as a .zip file Download this project as a tar.gz file

Direct link to exe

Choose "View Raw" https://github.com/EntropicFlip/FileDupePruner/blob/master/FileDupePruner/bin/Release/FileDupePruner.exe

The Problem

Automated cloud services can sometimes lead to scenarios where copies of files are automatically made with different names.

These redundant files take up space, and it can be daunting to have to sort these files out for manual pruning after months of this (or longer). In my case, I have my phone auto-uploading to dropbox, and this means I have nicely named files in my dropbox account, but a lot of DCIM_ files on my phone that are likely duplicates of the dropbox files, but not always. Phones get full, and those files need to be purged after awhile, but simply deleting those all videos and photos on my phone seems scary. So I wrote this tool for peace of mind to make sure that what I'm deleting from my phone is actually something that exists somewhere else.

File Dupe Pruner

This tool will identify those duplicates at the binary level (ignoring filenames) and give you the option to move them to another folder that you can manually delete after inspection. Screenshot

One folder or two

You can either evaluate two folders, leaving the primary folder intact, or you can evaluate a single folder for any duplicates within itself. All folder evaluations will recursively include nested subfolders.

Filtering by file extensions

You can optionally specify filtering by file extension in case you only want to compare certain types of files.

Who am I?

My name is Kain. I'm an independent game developer who used to work for companies: http://ringofblades.net/Blades/Portfolio/portfolio.html

Disclaimer

Written by Kain Shin in preparation for his own projects

This implementation is intentionally within the public domain Permission is hereby granted, free of charge, to any person obtaining a copy of this source code to use/modify with only one restriction: You must consider Kain a cool dude.

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/