Clair Organizer is a standalone desktop application that automatically sorts the contents of any folder into subfolders based on file types. Select a folder, click Organize, and watch as Documents, Images, Videos, Music, Archives and other files are moved into their own folders.
- One-click organization of any folder’s files.
- Customizable categories and extensions via an intuitive graphical interface.
- Save, rename and delete presets for multiple workflows.
- Optional recursive scan of subfolders with the ability to remove empty directories.
- Dark-mode interface built on Qt (PySide6) for a modern look and feel.
- Python 3.11: Core language for file system operations and application logic.
- OS module: Used to interact with the operating system for file management.
- PySide6 (Qt for Python): Cross-platform GUI framework.
- PyInstaller: Packages the Python code and JSON data into a single executable.
- Inno Setup: Builds a Windows installer that bundles the executable and configuration files.
- Download ClairInstaller.exe from the release page: https://github.com/nicolasgioanni/Clair/releases
- Run the installer and follow the prompts.
- Launch Clair from the Start menu.
- Windows 10+ or macOS 10.13+
- Python 3.11 (for manual install)
- Dependencies listed in
requirements.txt
- Clone this repository:
git clone https://github.com/your-username/clair-organizer.git
- Navigate to the Clair directory:
cd clair-organizer - Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # macOS/Linux .\venv\Scripts\Activate.ps1 # Windows
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python clair.py
- Click Browse and select the folder you want to organize.
- (Optional) Check Include Subfolders to process nested directories.
- (Optional) Check Delete Empty Subfolders to remove any now-empty folders.
- Click Organize Now and observe files moving into categorized folders.
- Use the Manage Categories panel to add, remove or rename categories and toggle extensions.
- Click Add Preset, Delete Preset, or Rename Preset to add, delete, or rename custom preset respectively.
- Scan: The application lists all files in the chosen folder (and subfolders if enabled).
- Map: Each file’s extension is matched against your defined categories.
- Move: Files are moved into subfolders named after their category; missing folders are created automatically.
- Clean Up: If enabled, any subdirectories left empty after moving files are deleted.
- Open the Manage Categories panel to add, remove or rename folders and toggle file extensions with a single click (your changes take effect immediately).
- Save your current setup as a new preset, or switch between presets for different scenarios (for example, Desktop cleanup, Downloads, or Project folders).
- Enable or disable individual extensions to fine-tune exactly which files get sorted.
- Choose whether to include nested subfolders and optionally remove them when they’re empty.
- Export or share your presets by copying the
presets.jsonfile; import shared presets by dropping them into the install directory. - For full manuel control, open and edit
categories.jsonorpresets.jsonin any text editor, Clair will load your changes the next time you run the app.
This project is licensed under the MIT License. see the LICENSE file for details.