Send File From Linux Command Line to Thunderbird

technology.pngA little script/tweak/tip for you folks who use Tux Commander (or any other light file manager) in Linux:

One thing that I sorely missed was the ability to send files via e-mail from the file manager or command line. And, of course, I finally got around to realizing there probably is a way to do that…

So to save you some time, I’ve got a BASH script for sending attachments via e-mail. It tests to make sure it’s looking at a file (and tests for absolute vs. relative paths). If you want to make the script a lot bigger and more complex, it’d be easy to do so (and have it ask for addressee, etc, etc), but it does one thing, and does it just fine for me. The command line syntax was ganked from http://www.kbrandt.com/2008/05/quick-tip-tunderbird-email-from-command.html; my main contribution is adding in some error trapping.

Popular posts:

  • If there's one Nazi (or a racist) at the table...
  • HOWTO Make Your Hamburger Helper Better
  • I am not a number; I am a free man, OR, why you should never rely on social media
  • Word Porn Quotes
  • Silence Will Not Keep You Safe. Silence Cannot Keep You Hidden Any More
  • Six tactics the right-wing uses - and what to do about them.
  • Practical Privacy Online