ORGE is a professional, safe, open-source desktop file organization application and CLI utility.
- Windows: Flagship Modern GUI (
ORGE.exe) + Companion CLI (orge.exe) - Linux: Standalone CLI (
orge) - macOS: Standalone CLI (
orge)
Both the GUI and CLI share the exact same deterministic ORGE core engine: scanning, intelligent categorization, collision prevention, safety constraints, and full rollback capability.
Non-technical users can install and use ORGE immediately without Python, PowerShell, or terminals.
- Download
ORGE-Setup-2.2.0.exefrom Releases. - Run the installer. It installs the application, adds an ORGE Start Menu shortcut, and registers
orgein your system PATH. - Launch ORGE from your Start Menu to open the GUI.
- Download
ORGE-Portable-2.2.0.zip. - Extract the archive anywhere on your PC.
- Double-click
ORGE.exeto launch the GUI (runs with no console window). - Power users can run
orge.exedirectly from any terminal.
Standalone CLI distributions are provided with zero Python dependency required:
- Download
orge-2.2.0-linux-x64.tar.gzfrom Releases. - Extract:
tar -xzf orge-2.2.0-linux-x64.tar.gz - Run:
./orge --helpor./orge organize /path/to/folder
- Download
orge-2.2.0-macos.tar.gzfrom Releases. - Extract:
tar -xzf orge-2.2.0-macos.tar.gz - Run:
./orge --helpor./orge organize /path/to/folder
If you have Python 3.10+ installed, you can also install ORGE via pip:
pip install orgeOr from source in editable mode:
git clone https://github.com/tshivaneshk/orge.git
cd orge
pip install -e .Launch the graphical user interface by running:
orge guiFeatures:
- Modern PySide6 desktop GUI with native Windows look & feel (no console window).
- Light, Dark, and System theme support with persistence.
- Fast multi-threaded scanning and non-blocking background workers.
- Visual folder picker, interactive preview tree, and in-memory search.
- Pre-execution safety validation preventing system path tampering.
- Interactive run history browser and one-click undo rollback.
ORGE CORE
|
+-------------+-------------+
| |
CLI GUI
| |
+-------------+-------------+
|
Shared Services
|
+--------------+--------------+
| | |
Planner Safety Executor
| | |
Classifier History Config
- CLI & GUI: Dual interface sharing the identical core engine.
- Planner: Analyzes directory state and deterministically calculates target paths. Pre-resolves collisions upfront so dry-run preview matches real execution 100%.
-
Classifier: Triple-tier classification engine:
-
Config Rules: Custom regex (
^INV-.*\.pdf$), glob (*.log), or file size constraints. -
Extension Detection: Fast
$O(1)$ lookup hash tables for code, media, documents, and archives. - Metadata Detection: MIME-type heuristics and file timestamps.
- Misc Fallback: Safely catches unclassified items.
-
Config Rules: Custom regex (
-
Safety Validation: Multi-stage safety pipeline preventing path traversal, system directory tampering (
C:\Windows,/etc, drive roots), and destination overwrites. -
File Executor: Moves files using standard library filesystem APIs (
shutil,pathlib). - History & Undo: Persistent JSON journaling. Preserves pending records under partial failures so rollbacks can be safely retried without data loss.
Inspect planned operations without touching any files:
orge preview ~/Downloads
# or
orge organize ~/Downloads --dry-runorge organize ~/DownloadsSkip interactive confirmation:
orge organize ~/Downloads -yorge guiPrint categorized file counts and disk usage:
orge scan ~/DownloadsReverse the most recent organization operation:
orge undoorge historyOnly organize files modified more than 14 days ago:
orge organize ~/Downloads -d 14For scripting, automation, or integration:
orge organize ~/Downloads --dry-run --json
orge scan ~/Downloads --jsonInspect platform-specific configuration and journal directories:
orge doctorORGE respects standard cross-platform conventions:
- Windows:
%APPDATA%\orge\config.json - Linux / macOS:
$XDG_CONFIG_HOME/orge/config.jsonor~/.config/orge/config.json
Check your config path with:
orge config --pathExample config.json:
{
"categories": {
"Design": ["psd", "ai", "fig", "sketch"],
"Archives": ["zip", "rar", "7z", "tar", "gz"]
},
"custom_rules": [
{
"category": "Invoices",
"regex": "^INV-\\d+\\.pdf$"
},
{
"category": "Logs",
"glob": "*.log"
},
{
"category": "LargeFiles",
"min_size_bytes": 104857600
}
],
"ignored_patterns": [
".git", ".svn", ".venv", "node_modules", ".DS_Store", "Thumbs.db"
]
}Execute test discovery across all components:
python -m unittest discover -v -s testsThis project is licensed under the MIT License. See LICENSE for details.