Last active
December 20, 2015 20:25
-
-
Save ozzieperez/f7aa95d6843841846e80 to your computer and use it in GitHub Desktop.
Differences in 2 Drives
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
#Step One: Get the raw diffs... usually takes me an hour | |
grep -rq dir1 dir2 > rawdiffs.txt | |
#Step Two: Filter out the junk | |
grep Only rawdiffs.txt | grep -v '.Spotlight' | grep -v '.fseventsd' | grep -v '.DocumentRevisions' | grep -v '.DS_Store' | grep -v '.TemporaryItems' | sort > filteredDiffs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment