Archive2Mail is a command line tool to archive (backup) files or directories to a mailbox. It uses SMTP (plain, TLS or SSL) to send mails with attached files. Prior to sending it checks mailbox contents (POP3 – plain or SSL) if it is already there. It requires Python >= 2.6.
Archive2Mail stores full path of archived files along with their secure hashes. When in „restore” mode it downloads files to destination folder with original path preservation. It also checks file hashes to detect errors or forgery.
Download current release: archive2mail-1.2.0.tar.bz2, ChangeLog
Gentoo Portage ebuild: archive2mail-1.2.0.ebuild
License: GPL version 2
Usage: arch2m
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-b, --backup action: backup files (send [file or directory] from
local computer to mailbox)
-r, --restore action: restore files (get files matching [file or
directory] names from mailbox and save them to current
or chosen destination)
-e, --create-example-conf
action: create example configuration file (will
overwrite existing one!)
-c FILE, --conf=FILE path to configuration file (default:
/home/kozik/.archive2mailrc)
-v, --verbose be more verbose and print debug messages (use more
than once to increase verbosity)
-f, --force force operation (send mails even when they are already
in mailbox; overwrite files when restoring)
-p, --pretend do not send or download files, just pretend (will
still fetch headers from mailbox)
-l NUM, --limit=NUM limit the number of files/mails in action to actually
process (does not include skipped files; must be
greater than 0)
-d DIR, --dest=DIR destination directory in restore mode (default:
current directory)
--header-lines-to-fetch=NUM
number of each message header lines to fetch from POP3
server while grabbing all stored file names
(subjects); if it is too small mail subject may be
omitted; if it is too big bandwidth will be wasted and
fetching headers will take long time (default: 64;
must be greater than 0)
kozik

Październik 25th, 2009 at 15:23
Released Archive2Mail version 1.1.0 (codename „The Beautiful Day”
). Detailed changes in Changelog:
http://www.kozik.net.pl/projekty/archive2mail/ChangeLog
Kwiecień 22nd, 2010 at 17:41
Archive2Mail version 1.2.0 release. Important new features are:
- ability to restore files to local disk,
- secure hashes (HMAC),
- changes in command line interface.
Full Changelog: http://www.kozik.net.pl/projekty/archive2mail/ChangeLog