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:

  • The difference between boundaries and rules
  • My Dark Reality - A Dayton Band You Don't Want To Miss
  • It's not the labels, it's the behaviors that you justify with them.
  • If there's one Nazi (or a racist) at the table...
  • Compersion: The Skill You Absolutely Need In Your Relationship(s).
  • What's In A Label - Poly and Polyam
  • Organizing and Tiling Your Windows on #Openbox Using Only... Openbox

Recent Posts