Sometimes you have a folder with a lot of files, and you want to sort them into folders. This is where ExtSorter comes in. It will sort your files into folders based on the file extension.
$ pip install extsorter
$ extsorter -h
usage: extsorter [-h] [-d DST] [src]
Sort files by extension
positional arguments:
src source dir
options:
-h, --help show this help message and exit
-d DST, --dst DST destination dir
Sort files in current directory to a folder called sorted
(name by default):
$ extsorter
Sort files in ~/Downloads
to ~/Downloads/old
:
$ extsorter ~/Downloads -d ~/Downloads/old
$ poetry install
$ poetry run make test
$ poetry run make format