Commit 18000bb3 by Stéphane Graber Committed by GitHub

Merge pull request #1187 from lpirl/master

make rsync deal with sparse files efficiently
parents 13dbc780 4f142fad
...@@ -61,7 +61,7 @@ int do_rsync(const char *src, const char *dest) ...@@ -61,7 +61,7 @@ int do_rsync(const char *src, const char *dest)
s[l-2] = '/'; s[l-2] = '/';
s[l-1] = '\0'; s[l-1] = '\0';
execlp("rsync", "rsync", "-aHX", "--delete", s, dest, (char *)NULL); execlp("rsync", "rsync", "-aHXS", "--delete", s, dest, (char *)NULL);
exit(1); exit(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment