compare file changed in different directories

it might be useful to compare different directories for file changed. the unix diff command rocks.

for example, this command compares 2 directories, ie blogs and blogs.bak recursively, output only the files changed and ignore any files named .git

diff -qr -x .git blogs blogs.bak

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.