add check target

This commit is contained in:
2021-03-17 04:39:25 +03:00
parent 310eba694f
commit 0937a9a4b5
2 changed files with 20 additions and 8 deletions

View File

@ -43,6 +43,15 @@ class Rsync(Uploader):
sync data to remote server
:param path: local path to sync
'''
check_output('rsync', '--archive', '--verbose', '--compress', '--partial', '--progress', '--delete', path, self.remote,
exception=None,
logger=self.logger)
check_output(
'rsync',
'--archive',
'--verbose',
'--compress',
'--partial',
'--progress',
'--delete',
path,
self.remote,
exception=None,
logger=self.logger)