Skip to content

Instantly share code, notes, and snippets.

@dandrews
Created August 6, 2012 17:49
Show Gist options
  • Save dandrews/3277103 to your computer and use it in GitHub Desktop.
Save dandrews/3277103 to your computer and use it in GitHub Desktop.
list the files that are different between two directories, excluding directories that match specific patterns
# https://snipt.net/dandrews/list-the-files-that-are-different-between-two-directories-excluding-directories-that-match-specific-patterns/
diff --brief -r -x '.git' -x 'tmp' /path/to/dir1 /path/to/dir2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment