Compare directories recursively (shows names for differing files/directories as well as changes made to files)

xzdiff

  • Invokes the diff command on files compressed with xz, lzma, gzip, bzip2, lzop, or zstd.
    All options specified are passed directly to diff.
    More information: <https://manned.org/xzdiff>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

diff --recursive {{path/to/file1}} {{path/to/file2}}

click the source code to copy install xzdiff on any operating system with command-not-found.com