Skip to content

Simple exe that reports duplicate files in current directory and all subdirectories recursively.

Notifications You must be signed in to change notification settings

t3hmun/DupeReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dupe Report App

What

Simple fast program to find, report and optionally delete duplicate files.

Default mode does not delete, just writes a report in a text file.

Warning This program reads enitre files into memory before calculating hashes, not ideal if files are too big for your RAM. Also may use up ram if you have a very fast disk and slow processor (the hash calculation is threadpooled).

Download

Grab the exe from Releases or clone the repo and compile it yourself. Nothing special is required to compile it.

Usage

Simply put the exe in a folder and run it, it'll scan the current folder and all subdirs recursively and output dupes.txt with the results.

Run from the CLI in order to observe progress and use options.

Options

Options must be added separately, with spaces.

-s : Silent mode, no console spam.

-d : Delete mode, duplicates are deleted and logged as deleted, duplicate with the shortest name is kept. If there are multiple duplicates with the shortest name the choice between them is random.

-x : Simulate delete mode, files will not be deleted, only logged as deleted.

How It Works

It works by first comparing file sizes and then comparing the SHA512 hash if the size matches. Does not do full bit for bit comparisons, trusts the hash.

Output

The outputs the names of the duplicate files on one line separated with | and then the full paths on the following lines indented.

About

Simple exe that reports duplicate files in current directory and all subdirectories recursively.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages