title: How to Encrypt after creating TAR Archive
body: <p>How to Encrypt TAR File with password.</p>
  
  <p>Trying to compare TAR archive content with file system however we are encrypting TAR. Would like to --compare TAR file first then encrypt.</p>
  
  <pre><code># tar -cvf compare1.tar compare/*
  # tar --compare --file=compare1.tar compare/*
  
  # tar --compare --file=compare1.tar compare/*
  tar: compare/test: Not found in archive
  </code></pre>
  
  <p>Encrypted TAR File</p>
  
  <pre><code># tar --compare --file=ArchiveVerify.tar compare
  tar: This does not look like a tar archive
  tar: Skipping to next header
  tar: compare: Not found in archive
  tar: Exiting with failure status due to previous errors
  </code></pre>