3
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?
maybe if you use find, then sort, then xargs? – Szocske – 2013-05-28T19:37:52.993
1I think it's time to put those directories under version control. (See: git) – michael – 2013-09-17T08:18:52.480