How to send a compressed archive that contains executables so that Google's attachment filter won't reject it [closed] How to send a compressed archive that contains executables so that Google's attachment filter won't reject it [closed] linux linux

How to send a compressed archive that contains executables so that Google's attachment filter won't reject it [closed]


tar -cvzf filename.tar.gz directory_to_compress/

Most tar commands have a z option to create a gziped version.

Though seems to me the question is how to circumvent Google. I'm not sure if renaming your output file would fool Google, but you could try. I.e.,

tar -cvzf filename.bla directory_to_compress/

and then send the filename.bla - contents will would be a zipped tar, so at the other end it could be retrieved as usual.


To bypass google's check, which is what you really want, simply remove the extensions from the file when you send it, and add them back after you download it.For example:

  • tar czvf file.tar.gz directory
  • mv file.tar.gz filetargz
  • [send filetargz via gmail]
  • [download filetargz]
  • [rename filetargz to file.tar.gz and open]


Try this:

tar -czf my.tar.gz dir/

But are you sure you are not compressing some .exe file or something? Maybe the problem is not with te compression, but with the files you are compressing?