Are you tired to compare your homework that you collected over literal decades ? You don't even know which part of your collection?
As of "release" 0.5.0, there is buggy CLI interface So here is 5 simple steps to start:
- Install latest Python version.
- *Optional. Activate virtual enviroment for next steps by using
python -m venv .venv
and then.venv/Scripts/Activate
or, by other means that activates a virtual environment. - By
pip install -r req.txt
install required python modules. - In terminal use
python src/ImageSorter.py -[OPTION] ~/path/to/directory
. - To check on all options, either start this script without option, or use -h/--help.
positional arguments:
path Path to directory
options:
-h, --help show this help message and exit
-c, --clean check for every file that has less then HD quality, then delete them
-m, --match match every file to find duplicates and/or broken files, then delete them
-r, --rename rename all files by {0 + number + .file_format} template
- Be aware, that this tool scripts where created for personal use, and only later cleaned up for open source.
- It was only tested on Windows machine, and even if Path() is high level abstraction on PurePath() (which should work on Unix systems to), IT WAS NOT TESTED YET.
- As this scripts where written on pure python, their speed is atrocity in itself. Be prepared to wait. (Because doing it manually is still quite a bit slower)
- - basic functionality.
- - cli Interface.(partial)
- - Chaining commands with one argument call. (For Example:
py ImageSorter.py -cmr ~/path/to/directory
) - - further optimizations.
(using numpy to compare arrays is not an optimization)
- My tendency to start new project whenewer I've gotten sick.
- Viyachikhh, without whose help comparing would've been EVEN SLOWER.