Home: Perl Programming Help: Intermediate:
Compare 2 large files


Mar 15, 2018, 6:02 AM

Views: 6764
Compare 2 large files

Hello all,

We've just migrated to a new product at work and we are experiencing issues where our test server is way out of sync with live. Its a pain to keep track of changes. . .

Instead of brick'in the test server and installing the live config I would like add to my web site where perl runs in the back ground comparing the config on a daily basis or via a button, and outputs the differences.

I might be overcooking this and there maybe a config management tool already available but i'm yet to find one.

Does anyone know if there is a config management tool that keeps track of changes ? is web based and supports config files with 250k lines in?
A tool where you can have separate files in test (not yet in live) and the tool can tell you its release 10 or something.

Any suggestions gratefully received

Many thanks


Veteran / Moderator

Mar 15, 2018, 7:05 AM

Views: 6763
Re: [jeffersno1] Compare 2 large files

Are you looking for a versioning tool such as Git?

Or do you just want to do a diff on 2 files?


Nov 7, 2018, 3:04 AM

Views: 489
Re: [jeffersno1] Compare 2 large files

Look for a command line program called "diff". There should be a version out there for all major platforms, like Linux and Windows command line.