Skip to content

Commit e53744d

Browse files
committed
fixup! feat(dedupe): add a deduplication script
1 parent 4eb03fc commit e53744d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/dedupe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _move_files(old_rel_path, new_rel_path, check_list):
6767
logging.info("moving file: %s", rel)
6868
new = new_rel_path.joinpath(rel)
6969
logging.info("destination: %s", new)
70+
new.parent.mkdir(mode=0o755, parents=True, exist_ok=True)
7071
path.replace(new)
7172
logging.info("---")
7273

0 commit comments

Comments
 (0)