I need to know the size (in bytes) of binary difference between two folders containing hundreds of files.
ideally searching for a tool where something like xtool --recursive /path/to/folderA/path/to/folderB would output something like:
folderA and folderB have X bytes in common and Y bytes difference.
Since this tool probably does not exist (I know of xfdelta that does diffs per file that I check sizes of), a good method / script to achieve this goal would be tremendous.
Thinking maybe of rsync -rlptDEuiIn /folderA /folderB --stats of which I could get Total trasferred file size line ? Maybe there is a better alternative ?