Python Script for Website Mirroring

Christian Mertes cmertes at techfak.uni-bielefeld.de
Wed May 19 18:49:34 EDT 2010


On Mi, 2010-05-19 at 16:35 -0600, Vincent Davis wrote:
> If it is a simple site you could just transfer with ftp

Or rsync -a or wget -m ... like tools that were specifically made for
this task. 

Therefore something like subprocess.call(["rsync", "-az", "-e", "ssh",
"--delete", source, target]) should be part of your Python script I
guess ;)

Regards,

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20100520/e8c0c9e0/attachment-0001.sig>


More information about the Python-list mailing list