In the Linux terminal, I'm using
diff --recursive --brief dir1 dir2
A couple of weeks ago, dir1 and dir2 were identical, but they have both been modified since then. I would like to order to outputs by the date of the last modification for the files in dir2 (or dir1, or whichever is more recent, or the time at which they began to differ).
I looked at the diff options and there doesn't seem to be a built in way to do any of these. Does anyone know a way?