Shell script to compare directories recursively
问题 I have a file server backup on an external hard drive a few months old for a file server that went down since then. Most of the data was recovered onto a temporary file server thats been in use since then but there are some inconsistencies. I am going to mount the external and rsync it with the current data to it but first I need to establish files that have gotten updated on the newer copy. I can do diff -r -q /old/ /new/ to obtain this, I am trying to get better at scripting so I am trying