PDA

View Full Version : [lubuntu] Comparing wordpress files for differences.



Jonas thomas
September 12th, 2012, 02:38 PM
Hi I kind of got myself between a rock and a hardplace on a wordpress website I've been working on

Basically in hindsite, I should have set up a child template, because when I update the template, the tweaks that I needed to do have been wiped out.

Anyway, I'm thinking of setting up a child template and doing it correctly.

Short of using git, is there some wonderful magical Linux command/ incantation that will recursively search two folders and sub folders and point out the differences in the files?

Thanks in advance

Bucky Ball
September 12th, 2012, 02:41 PM
There is a program called Meld in the repos. The files need to be on the same local drive but it will compare them, show different files and merge if required.

sandyd
September 12th, 2012, 03:50 PM
There is a program called Meld in the repos. The files need to be on the same local drive but it will compare them, show different files and merge if required.

You can also use diff, which Meld is a frontend off.

marinara
September 13th, 2012, 07:03 AM
diff -r

tienlbhoc
September 13th, 2012, 07:14 AM
And how to comparing text in files for differences at where?