Compare two directory trees

diff

diff <(cd directory1 && find | sort) <(cd directory2 && find | sort)
click the source code to copy install diff on any operating system with command-not-found.com