<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic mgdiff with zip files in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849868#M24867</link>
    <description>Hi&lt;BR /&gt;I know mgdiff (or any diff) does not support zip file.&lt;BR /&gt;Can we write something that first unzip file1 and send to filedescripter x then unzip file2 send that to filedescripter y and run mgdiff on x &amp;amp; Y. &lt;BR /&gt;if so how?&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Aug 2006 09:27:54 GMT</pubDate>
    <dc:creator>Sachin Patel</dc:creator>
    <dc:date>2006-08-24T09:27:54Z</dc:date>
    <item>
      <title>mgdiff with zip files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849868#M24867</link>
      <description>Hi&lt;BR /&gt;I know mgdiff (or any diff) does not support zip file.&lt;BR /&gt;Can we write something that first unzip file1 and send to filedescripter x then unzip file2 send that to filedescripter y and run mgdiff on x &amp;amp; Y. &lt;BR /&gt;if so how?&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 09:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849868#M24867</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2006-08-24T09:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: mgdiff with zip files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849869#M24868</link>
      <description>If you're interested in specific differences between the files:&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;&lt;BR /&gt;mkdir /tmp/foo&lt;BR /&gt;unzip -qc f1.zip &amp;gt; /tmp/foo/f1&lt;BR /&gt;unzip -qc f2.zip &amp;gt; /tmp/foo/f2&lt;BR /&gt;diff /tmp/foo/f1 /tmp/foo/f2&lt;BR /&gt;rm -rf /tmp/foo&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;If you just want to know whether the zip files themselves differ, 'diff' works just fine:&lt;BR /&gt;&lt;BR /&gt;$ diff f1.zip f2.zip&lt;BR /&gt;Binary files f1.zip and f2.zip differ&lt;BR /&gt;&lt;BR /&gt;PCS&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2006 14:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849869#M24868</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-08-24T14:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: mgdiff with zip files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849870#M24869</link>
      <description>Hi Spex&lt;BR /&gt;That is what I finally did it yesterday.&lt;BR /&gt;&lt;BR /&gt;checked size of both zip files. make sure I have enough space on /tmp. if so then zcat file to /tmp/diff.pid_1 and /tmp/diff_pid_2 then run mgdiff on both. once it is finished remove that tmp file. I also put trapper loop there so if someone try to use ctr-c it will remove temp file and exit.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 07:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mgdiff-with-zip-files/m-p/3849870#M24869</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2006-08-25T07:49:25Z</dc:date>
    </item>
  </channel>
</rss>

