This question already has an answer here:

I want to perform a diff between two directories and see what files (if any) have changed. Is there an easy way to do this? I've tried to use diff but it seems to only show the file-content differences.

marked as duplicate by mattdm, Stefan Lasiewski, Michael Hampton, Tom O'Connor, mdpc Feb 13 '13 at 0:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


EDIT: This has been asked and answered before: Different files of two directories. I just typed "diff directory" in the search box, and there it was.

$ diff -rq DIR1 DIR2

Here are the details:

$ diff --help
-q  --brief  Output only whether files differ.
-r  --recursive  Recursively compare any subdirectories found.

rsync -n (dry run) will do what you need. check rsync --help output for any other options that you may find useful when searching for changes. i wouldn't use diff to do this.

edit: including example

cia@pinkpony:~$ rsync -nric  dev2/py/lib/sysami/ dev/py/lib/sysami/
>fcsT...... __init__.py

You can use a graphical difference tool such as:

  • KDiff
  • Meld
  • GTKDiff
  • Kompare
  • etc.

Just type "diff" in your package manager.

Not the answer you're looking for? Browse other questions tagged or ask your own question.