return -X (save xattr data) rsync flag
This commit is contained in:
@ -94,7 +94,7 @@ pub fn download(repo: &String, pkgname: &String, force: bool, recursive: bool) {
|
|||||||
io::stdout().flush().unwrap();
|
io::stdout().flush().unwrap();
|
||||||
|
|
||||||
let mut cmd = Command::new("rsync");
|
let mut cmd = Command::new("rsync");
|
||||||
cmd.arg("-azH").arg("--stats");
|
cmd.arg("-azHX").arg("--stats").arg("--no-times");
|
||||||
if force { cmd.arg("--delete"); }
|
if force { cmd.arg("--delete"); }
|
||||||
cmd.arg(&remote_path);
|
cmd.arg(&remote_path);
|
||||||
cmd.arg(&local_path_sync);
|
cmd.arg(&local_path_sync);
|
||||||
|
|||||||
Reference in New Issue
Block a user