Date: Mon, 2 Nov 2020 19:45:42 +0000 (UTC) From: doug <doug@fledge.watson.org> To: Per olof Ljungmark <peo@nethead.se> Subject: Re: simple shell script to compare two dirs recursively Message-ID: <alpine.BSF.2.21.9999.2011021932160.72530@fledge.watson.org> Resent-Message-ID: <alpine.BSF.2.21.9999.2011022022200.72530@fledge.watson.org> 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 Mon, 2 Nov 2020, 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. > > 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 diff -r --brief -s dir1/ dir2/ then awk is your best friend
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.2011021932160.72530>