How to compress a directory into a tar.gz file from command line
I have a directory that I want to compress to send it by e-mail, I've tried this:<br>
    <code>tar -cvf filename.tar.gz directory_to_compress/</code>

But when I try send it by e-mail, Google says:<br>
    <code>filename.tar.gz contains an executable file. For security reasons, Gmail does not allow you to send this type of file.</code>

How to compress a directory into a tar.gz file from command line?
How to compress a directory into a tar.gz file from command line
===

I have a directory that I want to compress to send it by e-mail, I've tried this:<br>
    <code>tar -cvf filename.tar.gz directory_to_compress/</code>

But when I try send it by e-mail, Google says:<br>
    <code>filename.tar.gz contains an executable file. For security reasons, Gmail does not allow you to send this type of file.</code>

How to compress a directory into a tar.gz file from command line?