- May
- 120
- 1
I want to compare 2 directories to see where they differ. Essentially,
see which files and/or directories are only in one place (if directory
X is only in one, I don't need to see all the files within that
directory reported as well).
The nearest I can get is SYNC /S /E /N, but that reports file-by-file,
even for directories that are completely missing.
Using external tools, Gnu diff gets me partway there, diff -qr reports
differences, but doesn't say which are files and which are
directories.
Is there a way of doing this that I've missed? It seems a simple
enough thing that I need, but it's harder than I'd expect to find a
good solution :-(
Thanks,
Paul.
see which files and/or directories are only in one place (if directory
X is only in one, I don't need to see all the files within that
directory reported as well).
The nearest I can get is SYNC /S /E /N, but that reports file-by-file,
even for directories that are completely missing.
Using external tools, Gnu diff gets me partway there, diff -qr reports
differences, but doesn't say which are files and which are
directories.
Is there a way of doing this that I've missed? It seems a simple
enough thing that I need, but it's harder than I'd expect to find a
good solution :-(
Thanks,
Paul.