Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2020 12:14:11 -0600
From:      Valeri Galtsev <galtsev@kicp.uchicago.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: simple shell script to compare two dirs recursively
Message-ID:  <6d734580-55b0-eb70-677c-4270f29a00a9@kicp.uchicago.edu>
In-Reply-To: <34dfc85a-b985-e31f-a6b2-cf14f1f56fd2@nethead.se>
References:  <34dfc85a-b985-e31f-a6b2-cf14f1f56fd2@nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help


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

Valeri

> 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!
> 
> Per
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"

-- 
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6d734580-55b0-eb70-677c-4270f29a00a9>