simple shell script to compare two dirs recursively

Per olof Ljungmark peo at
Mon Nov 2 21:44:50 UTC 2020

On 2020-11-02 22:06, Ralf Mardorf wrote:
> On Mon, 2 Nov 2020 19:45:42 +0000 (UTC), doug wrote:
>> then awk is your best friend
> I seriously doubt that diff in combination with awk is a friend, if the
> premiss is...
> On Mon, 2 Nov 2020 19:11:41 +0100, Per olof Ljungmark wrote:
>> 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.
> ...unless you already know what to do.
> IIUC the OP is asking for a script ruling out pitfalls of "simple" diff
> + whatsover usage, without a time consuming learning curve.
> I don't have got the skills to provide a solution, since I'm aware of
> at least a few possible pitfalls.
> It might be helpful to know what paths should be compared, resp. what
> the possible contend of those paths (most likely) is.

Thank you for your responses.

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.


More information about the freebsd-questions mailing list