Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorMarco 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)
commit2f80f7b14abf594df4f1e604e78b40c2f0225d87 (patch)
tree67bbf11b5d110983b477acbcfd6337fe60c51caf /sync
parentdb53b4c704eebdf1aa9936728ab10493652b5da5 (diff)
Preserve timestamps and don't update excisting images
Diffstat (limited to 'sync')
-rwxr-xr-xsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync b/sync
index a83ae49..4d881fb 100755
--- a/sync
+++ b/sync
@@ -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__":