title: How to send a compressed archive that contains executables so that Google's attachment filter won't reject it
body: <p>I have a directory that I want to compress to send it by e-mail, I've tried this:</p>
  
  <pre><code>tar -cvf filename.tar.gz directory_to_compress/
  </code></pre>
  
  <p>But when I try to send it by e-mail, Google says:</p>
  
  <pre><code>filename.tar.gz contains an executable file. For security reasons, Gmail does not allow you to send this type of file.
  </code></pre>
  
  <p>How to compress a directory into a <code>tar.gz</code> file from command line?</p>