On Sun, 03 Dec 2006 14:33:52 -0200, Jerônimo Backes wrote:

> Is there a tool to make these repetitive tasks automatically? I would
> like to have something that just copies the updated (and new) files to
> my external HD, in order to keep both directories' contents in sync  (on
> my laptop: /home/jbackes/documents; on my external
> HD: /mnt/external/backup/documents/) .

rdiff-backup. I've been using it for a couple of years and it does just
what you need. it also keeps old versions so you can roll back in the
event of a mistake.

> And for the activity of packing and mailing recent changed documents, is
> there a tool that could do this automagically?

You could use find to generate a list of files changed n the last two
hours, pass this list to tar - it has an option to accept a list of files
to archive on stdin - and then mail this to your backup account.

There's also a FUSE module to mount your gmail mail account and use it
for file storage, but you won't find it in portage because it breaks
Google's T&Cs
http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html


-- 
Neil Bothwick

You couldn't get a job as a firing squad target.

Attachment: signature.asc
Description: PGP signature

Reply via email to