Last active
August 29, 2015 14:04
-
-
Save oakwhiz/eb04a6102113a62d2583 to your computer and use it in GitHub Desktop.
Bash script to compare two directory trees, including the files, without actually comparing the content of the files themselves.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find "$2" -printf "%P\n" | sort | diff - <(find "$1" -printf "%P\n" | sort) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment