diff --git a/siman/functions.py b/siman/functions.py index 1719556..b74bd04 100644 --- a/siman/functions.py +++ b/siman/functions.py @@ -287,7 +287,7 @@ def download(file, to_file): elif header.sshpass: #com = 'rsync --rsh='+"'sshpass -f /home/aksenov/.ssh/p ssh' " +' -uaz '+addr+':'+file+ ' '+to_file - com = 'rsync --rsh='+"'sshpass -f "+header.path2pass+" ssh' " +' -uaz '+addr+':'+file+ ' '+to_file + com = 'rsync --rsh='+"'sshpass -f "+header.path2pass+" ssh' " +' -az '+addr+':'+file+ ' '+to_file out = runBash(com) # print(addr) @@ -295,7 +295,7 @@ def download(file, to_file): else: # print(addr,file,to_file) - out = runBash('rsync -uaz '+addr+':'+file+ ' '+to_file) + out = runBash('rsync -az '+addr+':'+file+ ' '+to_file)