Last active
August 29, 2015 14:05
-
-
Save douglascodes/2afd8b2db1fea5196bad to your computer and use it in GitHub Desktop.
Reads two sorted files as STDIN, one strips forward slashes if they exist
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
diff --suppress-common-lines -yw <(sort -u restore_log) <(sed -r 's/^\///g' <(sort -u original_log) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to compare a restored file structure to the original to validate a backup procedure.