extsort
Sort files into folders by their extension
Options
-d (Default) Sorts only files in the working directory. -i string Directory containing files to be sorted. If -t is set, subfolders will also have their content sorted. (default “./”) -o string Directory to output the sorted files to. (default “./”) -s Sort also files in subfolders -t When set, folder structure gets copied into each extension folder -v Verbose output