From a0b08c5fe566a1ed9840993695e348a410f24e5c Mon Sep 17 00:00:00 2001 From: wangchong1995924 <15229716099@163.com> Date: Fri, 4 Dec 2020 18:04:42 +0800 Subject: [PATCH] mv cp to rsync --- core/update_obs_repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/update_obs_repos.py b/core/update_obs_repos.py index 5104f52..d1daa95 100755 --- a/core/update_obs_repos.py +++ b/core/update_obs_repos.py @@ -164,7 +164,7 @@ class RPMManager(object): log.debug(rpms_list) self.old_pkg_rpms[pkg] = rpms_list for r in rpms_list: - cmd = "cp %s/%s/%s/%s/%s/%s %s/%s/%s/:full/" \ + cmd = "rsync -avz --progress %s/%s/%s/%s/%s/%s %s/%s/%s/:full/" \ % (self.obs_project_root_path, self.obs_project, self.repo, \ self.arch, pkg, r, self.obs_project_root_path, \ self.rpms_to_repo_path, self.arch) -- Gitee