Run Rsync from Python [duplicate]

3 This question already has answers here: How to execute a program or call a system command? (63 answers) Closed 8 years ago.

I need to run an rsync command from Python. Is this possible and if so, how do I do it?

rsync -Ccavz --delete DJStatic username@website

Leave a Comment