find_dups is a tool to find duplicate files underneath a given directory.
go install github.com/abelikoff/find_dups@latest(You might need to install GDBM library - in case of Ubuntu, that would be: sudo apt install libgdbm-dev).
Find all identical files in a given directory:
find_dups ~/mydirfind_dups can cache signatures for files it processes to facilitate faster
results upon repeated use. Cache can be built in advance (which could be slow as it will
calculate signatures for all files in the directory) on on the fly (which will only
cache signatures for the files for which they are computed)
To rebuild the cache (slow!):
find_dups update-cacheBy default, cache rebuild is incremental (files that already have cached signatures are
not touched). Passing -f flag makes find_dups re-cache all files in the specified
directory.
To use cached signatures:
find_dups -C ~/mydir