Sort Files in a Directory by File-Extension using Python

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.
Read more: Sort Files in a Directory by File-Extension using Python

Continue reading “Sort Files in a Directory by File-Extension using Python”