On Saturday 05 September 2009, Suhit Kelkar wrote:
Dear linuxers,
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.
I was wondering if I could add to this script the capability to make a net backup-- invoke wvdial, fire up evolution; in evolution, mail to gmail; then close evolution; then close wvdial (I use Rel. Netconnect, so wvdial); and write me a logfile which I could check.
No need to fire evolution. Install attachmail a perl script to send mail with attachments on the command line. set a cron job and set bios to autostart at 3am. and shutdown after completion, while you party.