find DIR_1 -type f | wc -l
pv
to see progress:diff -rqs DIR_1 DIR_2 | pv -l -s NUM_FILES > /tmp/logfile
Where NUM_FILES
should be replaced with the number you got from the 1st command.
diff
finishes, you can run the following command to see if different files were found:cat /tmp/logfile | grep -iv "identical"
This howto is part of a larger collection of howtos maintained by the author (mostly for his own reference). The source code for the current howto in plain Markdown is available on GitHub. If you have a GitHub account, you can jump straight in, and suggest edits or improvements via the link at the bottom of the page (Improve this page).
made with ❤ by Valera Rozuvan