Ubuntu: Diff tool that supports zipped archives



Question:

I'm searching for a GUI diff application that supports zipped (gz, zip...) file archives, because I want to compare compressed logs. Diffuse, Kdiff3 or Meld don't support that files.


Solution:1

Using zcat

meld <(zcat file1.gz) <(zcat file2.gz)   

Example

% cat foo  foo    % cat bar  bar    % gzip foo bar    % meld <(zcat foo.gz) <(zcat bar.gz)  

enter image description here

% diffuse <(zcat foo.gz) <(zcat bar.gz)  

enter image description here


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »