do not try to preserve everything
This commit is contained in:
@@ -103,7 +103,7 @@ class RSB:
|
|||||||
if os.path.exists(tgt_dir):
|
if os.path.exists(tgt_dir):
|
||||||
raise FileExistsError("Folder {} already exists".format(tgt_dir))
|
raise FileExistsError("Folder {} already exists".format(tgt_dir))
|
||||||
|
|
||||||
subprocess.call(["cp", "-la", self.current, tgt_dir], shell=False)
|
subprocess.call(["cp", "-ldr", "--preserve=xattr", self.current, tgt_dir], shell=False)
|
||||||
|
|
||||||
def make_backup(self):
|
def make_backup(self):
|
||||||
if self.options.no_backup:
|
if self.options.no_backup:
|
||||||
|
|||||||
Reference in New Issue
Block a user