-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from miketvo/release-2023-06-07
Release 2023-06-07: v0.1.2-beta
- Loading branch information
Showing
8 changed files
with
264 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
__version__ = '0.1.1-beta' | ||
__version__ = '0.1.2-beta' | ||
__app_name__ = 'imdupes' | ||
|
||
__prog_usage__ = f'{__app_name__} {{scan,clean}} ...' | ||
__prog_desc__ = \ | ||
'Quickly detects and removes identical images. Has two modes:\n' \ | ||
"\t- 'detect' console prints the detected identical image paths/filenames\n" \ | ||
"\t- 'clean' removes the detected identical images, keeping only the first copy\n" \ | ||
'Warning: Deleted files are not recoverable, proceed with caution' | ||
"\t- 'scan' scans and console prints detected identical image paths/filenames\n" \ | ||
"\t- 'clean' scans and removes detected identical images (keeping only the first copy by default)\n" \ | ||
f'See "{__app_name__} {{scan,clean}} --help" for more information' | ||
__prog_epilog__ = \ | ||
'Note: This program ignores any non-image file in the target directory\n\n' \ | ||
'*: Smaller hash sizes are better for detecting visually similar images, while larger hash sizes are\n' \ | ||
' better for identifying identical images; The smaller the hash size, the better the performance\n' \ | ||
'\n' \ | ||
' Smallest accepted hash size is 8\n' \ | ||
'\n' \ | ||
'Note: This program ignores any non-image file in the target directory\n' \ | ||
'Algorithm: Average Hash (https://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html)' | ||
|
||
__scan_usage__ = f'{__app_name__} scan [options] directory [-o OUTPUT]' | ||
__scan_desc__ = \ | ||
'scan and console print detected identical image paths/filenames' | ||
__scan_epilog__ = \ | ||
'Note: This program ignores any non-image file in the target directory\n' \ | ||
'*: Smaller hash sizes are better for detecting visually similar images, while larger hash sizes are better for\n' \ | ||
' identifying identical images; The smaller the hash size, the better the performance; sSmallest accepted hash ' \ | ||
'size\n is 8' \ | ||
|
||
__clean_usage__ = f'{__app_name__} clean [options] input' | ||
__clean_desc__ = \ | ||
'scan and remove detected identical images (keeping only the first copy by default); deleted files are not\n' \ | ||
'recoverable, proceed with caution' | ||
__clean_epilog__ = __scan_epilog__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.