[ale] Script to send email with attachments
James Sumners
james.sumners at gmail.com
Sun Sep 23 12:56:47 EDT 2007
`tar cf - *.jpg | bzip2 -9 - > lots_of_pictures.tar.bz2`
Attach once and be done.
On 9/23/07, Thompson Freeman <tfreeman at intel.digichem.net> wrote:
>
> I went and stuck my foot in "it" again, and volunteered to
> be computer geeky so I can learn something new. Which would
> be fine except I'm not quite finding the clues (yet) in a
> web search.
>
> The task is to send a number (close to 80) jpg pictures to
> a yahoo mail account by email. My usual email clients are
> pine & balsa running on an older Fedora Core install.
> Sending onesy twosy attachments with either client is a
> nobrain task, but I would rather script a task with fourty
> times the attachments. Obviously, I'm not aware of a way to
> script either client.
>
> I've got notes hiding somewhere in my mess which should
> give a python solution, but at the moment I'd rather
> something in bash.
>
> Any ideas? Help?
>
> Thanks in advance
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list