title: How to compare the content of a tarball with a folder
body: <p>How can I compare a <code>tar</code> file (already compressed) of the original folder with the original folder?</p>
  
  <p>First I created archive file using </p>
  
  <pre><code>tar -kzcvf directory_name.zip directory_name
  </code></pre>
  
  <p>Then I tried to compare using</p>
  
  <pre><code>tar -diff -vf directory_name.zip directory_name
  </code></pre>
  
  <p>But it didn't work.</p>