Date: 2 Nov 2020 18:22:31 -0500 From: "John Levine" <johnl@iecc.com> To: freebsd-questions@freebsd.org Cc: peo@nethead.se Subject: Re: simple shell script to compare two dirs recursively Message-ID: <20201102232232.515C62548A9E@ary.qy> In-Reply-To: <66b0d570-4e46-7971-5d30-33256feeda55@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <66b0d570-4e46-7971-5d30-33256feeda55@nethead.se> you write: >It is to keep track of a Wordpress plugin that we must do changes to in >the php code, I'm just trying to figure out a way to apply our changes >after the plugin is updated and our alterations are overwritten. > >In a way that is simple, that is. I'd try using diff -r -C3 to find the diffs and patch to apply the diffs. Patch is pretty good at finding where the diffs go if the files have changed a little. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201102232232.515C62548A9E>