|
BmnRoot
|
Functions | |
| format_date (timestamp) | |
| format_size (size_bytes) | |
| get_file_hash (filepath) | |
| clean_database_duplicates (directory) | |
Variables | |
| target_dir = input("Введите путь к папке с дампами: ").strip() | |
| rm-dups.clean_database_duplicates | ( | directory | ) |
Definition at line 36 of file rm-dups.py.
References get_file_hash().
| rm-dups.format_date | ( | timestamp | ) |
Преобразует timestamp в читаемую дату.
Definition at line 7 of file rm-dups.py.
| rm-dups.format_size | ( | size_bytes | ) |
Definition at line 13 of file rm-dups.py.
| rm-dups.get_file_hash | ( | filepath | ) |
Вычисляет SHA-256 хэш файла по частям.
Definition at line 22 of file rm-dups.py.
Referenced by clean_database_duplicates().
| rm-dups.target_dir = input("Введите путь к папке с дампами: ").strip() |
Definition at line 116 of file rm-dups.py.