add double quotes to os copy args
This commit is contained in:
parent
878f740bde
commit
6560218503
|
|
@ -66,7 +66,7 @@ def create_new_links(source: Path, dest: Path, dry: bool):
|
||||||
try:
|
try:
|
||||||
file.copy(new_file)
|
file.copy(new_file)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
os.system(f"cp --reflink {file} {new_file}")
|
os.system(f'cp --reflink "{file}" "{new_file}"')
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
args = get_args()
|
args = get_args()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user