diff options
author | Marco Pesenti Gritti <marco@marcopg.org> | 2009-02-04 10:39:07 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@marcopg.org> | 2009-02-04 10:39:07 (GMT) |
commit | 2f80f7b14abf594df4f1e604e78b40c2f0225d87 (patch) | |
tree | 67bbf11b5d110983b477acbcfd6337fe60c51caf /sync | |
parent | db53b4c704eebdf1aa9936728ab10493652b5da5 (diff) |
Preserve timestamps and don't update excisting images
Diffstat (limited to 'sync')
-rwxr-xr-x | sync | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ images_dir = os.path.join(base_dir, 'images') dest_dir = 'soas@sunjammer.sugarlabs.org:/srv/upload/soas/snapshots/1/' def main(): - subprocess.check_call(['rsync', '-rv', '--progress', '--delete', + subprocess.check_call(['rsync', '-rvt', '--ignore-existing', '--progress', '--delete', images_dir + '/', dest_dir]) if __name__ == "__main__": |