diff --git a/find_duplicate_files/find_duplicate_files.py b/find_duplicate_files/find_duplicate_files.py index d374c9b..90f64c8 100644 --- a/find_duplicate_files/find_duplicate_files.py +++ b/find_duplicate_files/find_duplicate_files.py @@ -33,7 +33,11 @@ class find_duplicate_files: second_files = self.recursive_scandir(self.second_directory) self._log.debug(f"Found {len(second_files)} files in second directory '{second_directory}'") + total = len(first_files) + count = 0 for hash in first_files: + count += 1 + print(f"{count}/{total}") if hash in second_files: print(f"#File '{first_files[hash]}' is dupe with '{second_files[hash]}'.") print(f"rm '{first_files[hash]}'")