My Life in Bits

Home Photography Work

Chunk Emailer - Simple Backup Script

This is a simple python script that will back up a directory (using tar + bz2) and then email the archive to one or more recipients. As many email accounts have per message size limits, the script will break up the archive into sub-files (using split, a *nix specific shell command) and email those sub-files in separate emails. The files can then be reconstituted using the cat command. This script connects to your smtp server to send the email.

Download

 
   

www.japikse.comrestricted | stats