Last active
August 29, 2015 14:04
-
-
Save oakwhiz/217fc4162fa005ad1fb6 to your computer and use it in GitHub Desktop.
Bash script to compare two directory trees without comparing the files
This file contains hidden or 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" -type d -printf "%P\n" | sort | diff - <(find "$1" -type d -printf "%P\n" | sort) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment