Categorize is a simple, customizable CLI-tool for automation sorting your files by their extensions.
From sources. Clone the repo:
$ git clone https://github.com/kantegory/categorize.git
Install package:
$ make install
That's all, you awesome!
Or from pip:
$ pip install categorize
Sorting:
$ categorize --directory /path/to/your/directory
Show all categories and extensions:
$ categorize-config --show
Edit pattern name:
$ categorize-config --edit-name pattern_name new_name
Edit extensions for pattern name:
$ categorize-config --edit-ext pattern_name
Add new pattern:
$ categorize-config --add pattern_name