A package that aids sorting of files


License
MIT
Install
pip install filesort==0.1.4

Documentation

filesort

Build Python Black License pypi

About filesort

A utility that automatically organizes files based on metadata within the linux filesystem. Currently can sort by day, month, year, and file extension.

Installation & Use

Install filesort:

pip install filesort

Run filesort:

filesort

Example input directory prior to sorting:

-rw-rw-r--. 1 vivi vivi 854K Feb 18 10:51 'Screenshot from 2022-02-18 10-51-43.png'
-rw-r--r--. 1 vivi vivi  15K Feb 18 12:22 'Screenshot from 2022-02-18 12-22-31.png'
-rw-rw-r--. 1 vivi vivi 1.1M Feb 19 18:00 'Screenshot from 2022-02-19 18-00-18.png'
-rw-rw-r--. 1 vivi vivi 553K Feb 23 10:01 'Screenshot from 2022-02-23 10-01-19.png'

Example output directory after sort by day:

testfilesort/
└── 2022
    └── Feb
        ├── 18
        │   ├── Screenshot from 2022-02-18 10-51-43.png
        │   └── Screenshot from 2022-02-18 12-22-31.png
        ├── 19
        │   └── Screenshot from 2022-02-19 18-00-18.png
        └── 23
            └── Screenshot from 2022-02-23 10-01-19.png

An example of the UI:

Screenshot of input field Screenshot of confirmation page