rss feed Twitter Page Facebook Page Github Page Stack Over Flow Page

Diff files from two folders

Here's a simple command to check the difference between two folders.

diff -qr /home/user/path/ /home/other_user/path/

For example, you are working on an SVN project X with a friend using different branches. You want to check which files he modified before committing your files.

You simply need to fun this command:

diff --exclude=.svn -qr /home/user/path/ /home/other_user/path/