Archive2Mail – archiving files to POP3/SMTP mailbox

31 sierpnia 2009, by: kozik

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] [file or directory] ...
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)

Wysłano w Projekty - Unix | Tagi: , , , | 2 komentarzy »

Adres dla trackback. RSS dla komentarzy w tym wpisie.

2 komentarzy

  1. kozik Says:

    Released Archive2Mail version 1.1.0 (codename „The Beautiful Day” :) ). Detailed changes in Changelog:
    http://www.kozik.net.pl/projekty/archive2mail/ChangeLog

  2. kozik Says:

    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

Dodaj komentarz




Uwaga: Włączona jest moderacja komentarzy, więc nowy komentarz nie ukaże się bezpośrednio po jego wysłaniu.

Uwaga: Działa filtr antyspamowy. Jeśli umieścisz w komentarzu odnośniki, to może on zostać błędnie zakwalifikowany jako spam.