diff --git a/cowcopy.py b/cowcopy.py index 47df6f9..3da64b8 100644 --- a/cowcopy.py +++ b/cowcopy.py @@ -66,7 +66,7 @@ def create_new_links(source: Path, dest: Path, dry: bool): try: file.copy(new_file) except AttributeError: - os.system(f"cp --reflink {file} {new_file}") + os.system(f'cp --reflink "{file}" "{new_file}"') if __name__ == '__main__': args = get_args()