Created
September 7, 2018 12:01
-
-
Save sanjaykrishnan/3026b9c3c3ded3a8ac1f7c4dd90f7703 to your computer and use it in GitHub Desktop.
How to find diff in files in 2 directories
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
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