Sortium Documentation

Welcome to Sortium, a Python utility for organizing files by type and modification date.

Sortium helps you:

  • Automatically sort files into categories (Images, Documents, Music, etc.)

  • Organize files within categories by their last modified date

  • Flatten deeply nested folder structures

Quick Start

Warning

Always make a backup of your files before running Sortium. This utility moves files and modifies folder structures, which may lead to data loss if misused.

Install via pip:

pip install sortium

Then:

from sortium import Sorter

sorter = Sorter()
sorter.sort_by_type("/path/to/folder")
sorter.sort_by_date("/path/to/folder", ["Images", "Documents"])

API Reference

Sortium Package

Project Info