PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux
No Result
View All Result
PikoPong
No Result
View All Result
Home Linux

Compare File Differences Graphically in Linux With Meld

November 23, 2020
in Linux
289 3
Compare File Differences Graphically in Linux With Meld


How do you compare two similar files to check for differences? The obvious answer is to use the diff command in Linux.

The problem is that not everyone would be comfortable comparing files in Linux terminal. And the diff command output could be confusing for some.

Take this diff command output for example:

There is definitely a learning curve involved here. However, if you are using desktop Linux, you can use GUI applications to easily compare two files for any differences.

There are several GUI diff tools available for Linux. I am going to highlight my favorite tool Meld in this week’s Linux application highlight.

Meld: Visual Diff and Merge tool for Linux (and Windows)

With Meld, you can compare two files in side by side view. Not only that, you may also modify the files to make changes accordingly. That’s what you would want to do in most situations, right?

File Comparison

Meld is also capable of comparing directories and show which files are different. It will also show while files are new or missing.

Directory Comparison

You may also use Meld for a three-way comparison.

Three Way File Comparison

The graphical side-by-side comparison helps in a number of situations. If you are a developer, you can use it to understand code patches. Meld also supports version control systems like Git, Mercurial, Subversion etc.

Features of Meld

The open source Meld tools has the following main features:

Perform two and three-way difference comparisonEdit files in-place and the difference comparison updates immediatelyNavigate between differences and conflictsVisualize global and local differences with insertions, changes and conflicts marked accordinglyUse regex text filtering to ignore certain differencesSyntax highlightingCompare two or three directories for newly added, missing and altered filesExclude some files from comparisonSupport for popular version control systems like Git, Mercurial, Bazaar and SVNSupport for many international languagesOpen source GPL v2 licenseAvailable for Linux as well as Windows

Installing Meld on Linux

Meld is a popular application and it is available in the official repositories of most Linux distributions.

Check your distribution’s software center and see if Meld is available.

Meld In Ubuntu Software Center

Alternatively, you can also use command line package manager of your distribution to install Meld. On Ubuntu, it is available in the Universe repository and can be installed using the apt command:

sudo apt install meld

You may find the source code of Meld on GNOME’s GitLab repository:

Worth it?

I know that most modern open source code editors come with this feature but sometimes you just want a simple interface without the trouble of installing additional add-ons for comparing files. Meld provides you just that.

Do you use some other tools for checking differences between files? Which tool would that be? What’s your experience with Meld, if you ever used it? The comment sections is all yours for sharing your opinion.

Like what you read? Please share it with others.



Source link

Share219Tweet137Share55Pin49

Related Posts

11 Ways to Modify the Looks of KDE
Linux

11 Ways to Modify the Looks of KDE

KDE Plasma desktop is unarguably the pinnacle of customization, as you can change almost anything you want. You can...

January 17, 2021
5 Better Privacy Alternatives to Dump WhatsApp
Linux

5 Better Privacy Alternatives to Dump WhatsApp

After the latest WhatsApp privacy policy updates, many users who trusted the service seem to be making the switch...

January 14, 2021
How to Install Signal on Ubuntu & Other Linux Distributions
Linux

How to Install Signal on Ubuntu & Other Linux Distributions

It’s been more than a year since we covered Signal as an ideal choice for instant messaging. While privacy-aware...

January 13, 2021
Super Productivity: A Super Cool Open Source To-Do List App with GitHub Integration
Linux

Super Productivity: A Super Cool Open Source To-Do List App with GitHub Integration

Brief: Super Productivity is an awesome open-source to-do app that helps you manage tasks, track tickets, and manage time....

January 11, 2021
Next Post
A Comparison Of async/await Versus then/catch — Smashing Magazine

A Comparison Of async/await Versus then/catch — Smashing Magazine

DRY-ing up styled-components | CSS-Tricks

DRY-ing up styled-components | CSS-Tricks

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Irregular-shaped Links with Subgrid

Irregular-shaped Links with Subgrid

July 16, 2020
How to Reverse CSS Custom Counters

How to Reverse CSS Custom Counters

June 11, 2020
Best practices using AWS SCT and AWS Snowball to migrate from Teradata to Amazon Redshift : idk.dev

Best practices using AWS SCT and AWS Snowball to migrate from Teradata to Amazon Redshift : idk.dev

September 24, 2020
Image policies for fast load times and more

Image policies for fast load times and more

May 24, 2020

Categories

  • AWS
  • Big Data
  • Database
  • DevOps
  • IoT
  • Linux
  • Web Dev
No Result
View All Result
  • Web Dev
  • Hack
  • Database
  • Big Data
  • AWS
  • Linux

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In