Executar o Rsync a partir do Python [duplicado]
esta pergunta já tem uma resposta aqui:
- chamando um comando externo em Python 52 respostas
rsync -Ccavz --delete DJStatic username@website
RESPOSTA EM COMENTÁRIOS
preciso de usar
from subprocess import call
call(['ls']) - working currently to expand this to rsync, but you get the idea
13