dedup
Bases: FileOperation, FileRemoverMixin
Source code in file_operations/deduplicate.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | |
__init__(**kwargs)
find duplicate files in source folder :param kwargs: params from CLI
Source code in file_operations/deduplicate.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
confirm_removing()
check if user wants to remove duplicates
Source code in file_operations/deduplicate.py
75 76 77 78 79 80 | |
do_task()
find duplicate files in source folder, ask user to delete them if remove
Source code in file_operations/deduplicate.py
65 66 67 68 69 70 71 72 73 | |