Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jul 122010

Compare the difference between two directories


You have two directories, say /foo and /bar, and you want to compare the difference between this two directories, you can use

# diff -r /foo /bar

If you only want to know which files difference, you can use

# diff -qr /foo /bar

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>