How to compare content in files or folders?

wpspeedster

Well-known member
Registered
Joined
May 6, 2016
Messages
120
Points
18
I bought a paid Wordpress theme and made changes on it but now it has got a new version, I want to check the structure/code differences what I changed between old and new version of theme. we Is it possible to compare content in files or folders by using a software or tool on Windows?
 

HostYourNet-DR

Well-known member
Registered
Joined
Jan 13, 2017
Messages
139
Points
18
I'm not really familiar with word press.

But the only way to see is to view the source code side by side. is my bet.
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Here you go. :)

Linux

diff file1.php file2.php

Windows

fc /a file1.php file2.php
 

fwh

Administrator
Staff Member
Joined
Dec 8, 2012
Messages
773
Points
63
I'm not really familiar with word press.

But the only way to see is to view the source code side by side. is my bet.
This way can be used in the case we don't have a tool to compare content between files. :)

Windows

fc /a file1.php file2.php
Running this on windows command?

I bought a paid Wordpress theme and made changes on it but now it has got a new version, I want to check the structure/code differences what I changed between old and new version of theme. we Is it possible to compare content in files or folders by using a software or tool on Windows?
I would recommend using Winmerge

There are any good tool to compare file content but if you want to compare more files between folders together then this tool can be a good choice.
After installed it on your PC, you can want to check its options and changing some configurations there

Edit \ Options

winmerge.jpg

Ctrl + O

winmerge-compare-content-1.jpg

You can compare content between 2 different folders or compare a folder with itself ( for the folder with changes ) on Left, Right

You can change filter to *.css or *.php if you only want to compare in PHP or CSS files...etc

After you click OK then you will have a list of files that were compared.

winmerge-compare-content-2.jpg

You can click on a file and see the differences like this

winmerge-compare-content-4.jpg

Hope it helps!
 
Latest Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top