An intelligent, AI-powered file and folder organization tool built with Python. Folder Manager AI uses local Large Language Models (via LM Studio) and a modern, sleek interface to analyze, categorize, and organize your files efficiently.
- Interactive Simulation Mode: The tool operates in 3 distinct phases to give you complete control:
- Build Draft: Scans your directory and generates an AI-suggested folder structure.
- Refine Draft: Allows you to adjust the generated structure using natural language prompts.
- Finalize & Execute: Physically moves files into their new folders once you approve the draft.
- Content-Aware Categorization: Reads metadata and content from Text files, PDFs, and Excel spreadsheets to categorize files accurately.
- Vision Capabilities: Optional image analysis feature allows the AI to categorize images based on visual content.
- Smart Deduplication: Uses cryptographic hashing to detect and delete exact duplicate files.
- Undo Actions: Easily undo the last move operation if you change your mind.
- Modern UI: Dark-themed, responsive user interface built with CustomTkinter.
Ensure you have Python 3.8+ installed. The project relies on the following libraries:
openai(For LM Studio API compatibility)customtkinterpypdfopenpyxlrichpydanticpython-dotenv
-
Clone this repository:
git clone https://github.com/eedali/Folder-Manager.git cd Folder-Manager -
Install the required dependencies:
pip install -r requirements.txt
-
Ensure you have LM Studio running locally and serving an API endpoint (usually
http://127.0.0.1:1234/v1).
You can run the application via the CLI or the GUI.
Launch the modern interface:
python gui.pyFrom the GUI, select your target directory, adjust settings (like recursive scanning, deep document reading, or vision), and start the simulation process.
To organize a directory using the CLI:
python main.py --target /path/to/your/folderOther CLI options:
--dry-run: Simulate the organization without actually moving files.--undo: Undo the last organization operation in the specified target directory.
Default settings (like the LM Studio API URL, batch sizes, and max file sizes for deep scanning) can be adjusted in the config.py file or directly through the GUI settings panel.
This project is open-source. Feel free to modify and use it for your personal organization workflows.