dotfiles/.local/bin/scripts/treediff

8 lines
256 B
Plaintext
Raw Normal View History

2023-01-06 11:42:16 +00:00
#!/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