sorti-py, written in Python
Sorti-Py is a CLI tool that sorts the current folder you’re in.
It sorts all files into their respective folders, for example, it takes all .pdf files in your current directory, and puts them in a pdf folder. It works for all extensions and will make organizing messy folders a lot easier.
- cd into the directory you wish sorted
- type “sortipy”
- clone this repository
- cd into sorti-py
- type “sudo mv sortipy /usr/bin”
NOTE: The reason you need sudo privileges is to move sortipy to $PATH, so you can use it anywhere without needing to specify the location of the script.
Video demonstration: https://youtu.be/19oVTrq96HA