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

Like it.? Share it:

Comments are closed.