This is a simple application that scans an entire folder’s tree structure (all files in all subfolders) for duplicate files. The files are compared in terms of content, so duplicate files with different names are still found.
When I test the program in different platforms I will publish the binaries somewhere and update this readme. Until there you can build your own version easily:
-
Get Haskell Stack
-
Clone this repository
-
Open a terminal/prompt on the directory
-
Execute
stack setup
to download the compiler and dependencies (it may take some time, don't worry) -
Execute
stack build
to compile it -
Execute
stack install
to get a binary copied into a predefined folder (~/.local/bin on POSIX systems)
I did not do anything new here, I compare the files’ checksum in order to find the ones that generated the same hash number. I know that different files can generate one same hash number (which in fact is needed by security), but chances are very low.
I’ll will gladly check all pull requests and accept contributions to this project =D