simple shell script to compare two dirs recursively
galtsev at kicp.uchicago.edu
Mon Nov 2 18:14:19 UTC 2020
On 11/2/20 12:11 PM, Per olof Ljungmark wrote:
> Hi all,
> I could *probably* cook this myself with some time and patience, but now
> it is somewhat urgent, so if someone likes to share their already
> working solution I would be most grateful.
One I know exists since forever:
diff -r /path1 /path2
> I need a *simple* shell (does not matter which) script run by cron that
> recurses through two directories, compare all the files and produces
> simple diffs IF there are any. I'm sure this is something that a lot of
> you already did.
> Thanks so much to all the nice folks on the list and FreeBSD in particular!
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
More information about the freebsd-questions