On Sat, Sep 5, 2009 at 11:16 AM, Suhit Kelkar<[email protected]> wrote: > Needing to regularly backup my work, and having recently developed an > interest in shell commands, I wrote myself a script that backed up a > particular file; renamed the previous backup; and then unmounted the pen > drive. Fairly beginner stuff but a time-and-effort-saver. > Good > I was wondering if I could add to this script the capability to make a > net backup-- invoke wvdial, OK
> fire up evolution; in evolution, No. Evolution is a GUI. In shell scripting one usually would use command line programs. In this case you would be better off using the command sendmail e.g. ( echo "To: Suhit Kelkar <[email protected]>" echo "From: som...@yourdomain" echo "Subject: My second shell script" echo cat some_path_on_your_host/some_file ) | sendmail -fsom...@yourdomain [email protected] -- Regards Manvendra - http://www.indimail.org Sent from Chennai, TN, India -- http://mm.glug-bom.org/mailman/listinfo/linuxers

