Tags:

Diff files from two folders

Monday, February 14, 2011 EST (Updated on: Sunday, July 24, 2011 EDT)

by: Eric Potvin

Tags: ubuntu linux svn

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/

Be the first to reply!

No comments!
Share this article:

Add a comment

* If your comment require a response from us, please make sure you leave your email

Captcha

* is required
The posting of advertisements, profanity, or personal attacks is prohibited.
Please review our terms of use

Latest Articles

Top Articles

Category List

Top of the page
Loading, please wait ...