Skip to content

Instantly share code, notes, and snippets.

@sanjaykrishnan
Created September 7, 2018 12:01
Show Gist options
  • Save sanjaykrishnan/3026b9c3c3ded3a8ac1f7c4dd90f7703 to your computer and use it in GitHub Desktop.
Save sanjaykrishnan/3026b9c3c3ded3a8ac1f7c4dd90f7703 to your computer and use it in GitHub Desktop.
How to find diff in files in 2 directories
You can use the diff command just as you would use it for files:
diff <directory1> <directory2>
If you want to see subfolders and -files too, you can use the -r option:
diff -r <directory1> <directory2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment