<?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 Compare two file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398274#M351209</link>
    <description>HI&lt;BR /&gt;&lt;BR /&gt;I want to compare two file system and identify the file incomplete transfered by size on destination directory. then remove those incomplete transferd files.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Pranav Pachchigar</description>
    <pubDate>Thu, 09 Apr 2009 09:08:20 GMT</pubDate>
    <dc:creator>Pranav Pachchigar</dc:creator>
    <dc:date>2009-04-09T09:08:20Z</dc:date>
    <item>
      <title>Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398274#M351209</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;I want to compare two file system and identify the file incomplete transfered by size on destination directory. then remove those incomplete transferd files.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Pranav Pachchigar</description>
      <pubDate>Thu, 09 Apr 2009 09:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398274#M351209</guid>
      <dc:creator>Pranav Pachchigar</dc:creator>
      <dc:date>2009-04-09T09:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398275#M351210</link>
      <description>Hi Pranav,&lt;BR /&gt;&lt;BR /&gt;Please make yur issue a bit more clear.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I want to compare two file system &lt;BR /&gt;&lt;BR /&gt;What I understand is, you have copied the file sys to another place and now want to compare (by size) whether every file is copied properly or not?&lt;BR /&gt;&lt;BR /&gt;If this is the case, I have one way you can try:&lt;BR /&gt;&lt;BR /&gt;# du -kx /abc_source/* &amp;gt; file1&lt;BR /&gt;# du -kx /abc_dest/* &amp;gt; file2&lt;BR /&gt;# cmp file1 file2&lt;BR /&gt;&lt;BR /&gt;file1 and file2 contain size of every file in the file system and so they can be very long depending upon the file system size.&lt;BR /&gt;&lt;BR /&gt;Well, there may better ways also. Keep searching for them if this does not serve you.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.</description>
      <pubDate>Thu, 09 Apr 2009 10:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398275#M351210</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-04-09T10:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398276#M351211</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Using size as a criteria to determine a successful transfer is potentially misleading.  How you measure the size matters too.&lt;BR /&gt;&lt;BR /&gt;If you are FTP'ing text files between a UNIX platform and a Windows one (for example), a carriage-return will be added to the newline line delimiters.&lt;BR /&gt;&lt;BR /&gt;If you use 'cp' (for example) to copy a sparse file, then the file is "inflated".  Utilities like 'pax' can retain the sparseness.&lt;BR /&gt;&lt;BR /&gt;Directories are often larger on the source side of a copy than on the destination side.  This is because once blocks are allocated to a directory's space they are not removed (but rather are left free) pending reuse of the space.&lt;BR /&gt;&lt;BR /&gt;You might want to consider using 'diff' to compare files and directories along with a  checksum calculation like 'cksum' or 'md5sum', for example if you want to be rigouous.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 09 Apr 2009 11:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398276#M351211</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-04-09T11:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398277#M351212</link>
      <description>You can use also rsync whish can be used to synchronized two directories &lt;BR /&gt;rsync can be used to test what is different with the dry run mode:&lt;BR /&gt;rsync -v -a -n -H sourcedir targetdir&lt;BR /&gt;sourcedir or targetdir can be nfs mounted&lt;BR /&gt;Note that rsync can also be used in a clients erver mode ..&lt;BR /&gt;&lt;BR /&gt;I always use now rsync to do sync beetween two folders, even very large folder &amp;gt;100GB, it works well and it has big performance&lt;BR /&gt;&lt;BR /&gt;patrick</description>
      <pubDate>Thu, 09 Apr 2009 11:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398277#M351212</guid>
      <dc:creator>RUET</dc:creator>
      <dc:date>2009-04-09T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398278#M351213</link>
      <description>I would use dircmp if I want to check the contents of one directory against another.  It will compare the directories and provide the differences for you.</description>
      <pubDate>Thu, 09 Apr 2009 11:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398278#M351213</guid>
      <dc:creator>Jamie A Dennis</dc:creator>
      <dc:date>2009-04-09T11:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398279#M351214</link>
      <description>Dear &lt;BR /&gt;&lt;BR /&gt;Let me clear.&lt;BR /&gt;i have HP unix 11.23, doing ftp from one sever to other unix server. My problem is that during ftp syncronizing due to network problem some files are not transfered completely, &lt;BR /&gt;&lt;BR /&gt;e.g my source dir has file with 50mb but on destination it is transfered to 20mb (incompletely) transfered.&lt;BR /&gt;&lt;BR /&gt;Now i want to identifiy those file with size mismatch at destination directory and remove those files so my ftp software will retransfer files from source to destination.&lt;BR /&gt;&lt;BR /&gt;i tried rsync but not running in HP Unix&lt;BR /&gt;pl suggest what to &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;pranav pachchigar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Apr 2009 12:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398279#M351214</guid>
      <dc:creator>Pranav Pachchigar</dc:creator>
      <dc:date>2009-04-09T12:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398280#M351215</link>
      <description>rsync is running on HP ux&lt;BR /&gt;you can download it from HP Softawre depot&lt;BR /&gt;It's a free software &lt;BR /&gt;&lt;BR /&gt;Why not restarting the ftp, for 50MB it will take very low times to achieve ?&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Apr 2009 13:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398280#M351215</guid>
      <dc:creator>RUET</dc:creator>
      <dc:date>2009-04-09T13:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398281#M351216</link>
      <description>&amp;gt;i want to identify those file with size mismatch at destination directory and remove those files so my ftp software will retransfer files from source to destination.&lt;BR /&gt;&lt;BR /&gt;You could do a find on each and then use ll to get the lengths:&lt;BR /&gt;find . -type f -exec ll {} + | awk '{print $9, $5}' | sort &amp;gt; system_X.sort&lt;BR /&gt;&lt;BR /&gt;Then use comm:&lt;BR /&gt;comm -13 system_src.sort system_des.sort&lt;BR /&gt;&lt;BR /&gt;This will give a list of files that are different sizes OR aren't on the source machine.</description>
      <pubDate>Fri, 10 Apr 2009 02:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-two-file-system/m-p/4398281#M351216</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-10T02:49:00Z</dc:date>
    </item>
  </channel>
</rss>

