Best way to compare (diff) a full directory structure?
- by Adam Matan
Hi,
What's the best way to compare directory structures?
I have a backup utility which uses rsync. I want to tell the exact differences (in terms of file sizes and last-changed dates) between the source and the backup.
Something like:
Local file Remote file Compare
/home/udi/1.txt (date)(size) /home/udi/1.txt (date)(size) EQUAL
/home/udi/2.txt (date)(size) /home/udi/2.txt (date)(size) DIFFERENT
Of course, the tool can be ready-made or an idea for a python script.
Many thanks!
Udi