Released dex, a Go port of my Python dircmp utility. Clean architecture, static binaries, no dependencies.

Compares two directory trees and sorts files into five buckets:

  1. Exact match — same path, same content
  2. Modified — same path, different content
  3. Same content, different path
  4. Only in src
  5. Only in dst

Also finds duplicates within a single directory.

dex [options] <dir>           # find duplicates
dex [options] <src> <dst>     # compare directories

Options: -a hidden files, -r recurse, -f fast digest, -b brief, -l full digests.

Prebuilt binaries for Linux and macOS in the releases.

post added 2026-01-25 14:00:00 -0600