dotfiles/.local/bin/scripts/treediff
2023-01-06 12:43:30 +01:00

7 lines
256 B
Bash
Executable file

#!/bin/sh -e
# Diff the existing filenames between the given directories
command() {
find "$1" -printf '%P\n' | sort
}
wiked-diff --colored-blocks false <(command "$1") <(command "$2") |
less --RAW-CONTROL-CHARS --quit-on-intr --quit-if-one-screen