Here is a python script that sorts files in a directory by file extension.
The directory to be sorted and the file endings to be sorted are taken as input parameters.
As an example, the script can be immensely helpful in creating order in a download folder that has grown and grown over time.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.