2025-09-24 20:51:20 +03:00
2025-02-10 22:59:23 +03:00
2025-02-10 22:59:23 +03:00
2025-02-10 23:03:46 +03:00
2025-02-10 22:59:23 +03:00
2025-09-24 20:51:20 +03:00
2025-08-26 13:02:27 +03:00
2025-02-15 00:22:34 +03:00

fdup

Caution

Recently I've noticed wrong hashsum calculations in some cases (unknown reason for now).

Different files may be falsely marked as having the same hash! Be careful and do not use the -remove option until issue https://github.com/gechandesu/fdup/issues/1 is resolved.

The dumb tool for finding duplicate files by their hash sums.

Compile it with -prod for better performance:

$ v -prod .

Look at releases page for prebuilt executables.

Synonsis

Usage: fdup [flags] [commands] [DIR...]

File duplicates finder

Flags:
  -hash               Hashing algorythm: blake3, crc32, fnv1a, sha1, sha256, md5 [default: fnv1a]
  -threads            Number of threads used for calculating hash sums [default: number of CPU cores]
  -brief              Brief output, print plain easy to parse hashes and filenames only.
  -json               Print output in JSON format.
  -exclude            Glob pattern to exclude files and directories [can be passed multiple times]
  -skip-empty         Skip empty files.
  -max-size           Maximum file size in bytes. Files larger than this will be skipped.
  -remove             Remove duplicates.
  -prompt             Prompt before every removal.
  -help               Prints help information.
  -version            Prints version information.

Commands:
  help                Prints help information.
  version             Prints version information.
Description
No description provided
Readme 60 KiB
Languages
V 100%