Hi
On Fri, 02 Jun 2023 20:28:10 -0600 home user wrote:
But diff can't compare contents of binary files.
No: it can:
diff /bin/ls /bin/pwd
Binary files /bin/ls and /bin/pwd differ
In your case you only need to know if the files differ, thus use
diff --brief -r ...
diff --brief /bin/ls /bin/pwd
Files /bin/ls and /bin/pwd differ
--
francis