dir2 (Directory 2.0)

An SQL-Inspired File System Interface for Windows

A Rust-based file system terminal that reimagines file interaction through SQL-like commands. Navigate, select, and execute files using familiar database query syntax.

dir2 Terminal
DIR2@C: SELECT script.py FROM C:\Projects\
✓ Selected: script.py
DIR2@C: RUN STATE
✓ Executing: python script.py

Key Features

🔍

SQL-Style File Selection

Use familiar SQL syntax like SELECT script.py FROM C:\Projects\ to load files into state

📋

Stateful File Management

Single-file state system for focused workflow management and efficient file operations

Quick Favorites System

Save frequently used files and executables for instant access and faster workflow

🔎

Global File Search

Find exact file locations system-wide using the powerful FIND EXACT command

Direct Execution

Run selected files or favorites with simple commands without complex navigation

🪟

Windows Integration

Built specifically for Windows with rust_search module for system-wide search

Getting Started

1

Install Rust

Make sure you have Rust installed on your Windows system

Installation Guide →
2

Clone & Build

Clone the repository and build the project using Cargo

Build Instructions →
3

Start Using

Launch dir2 and start using SQL-like commands for file management

Usage Guide →

Example Commands

File Selection

SELECT document.pdf FROM C:\Users\Documents\

Load a specific file into the current state for further operations

Global Search

FIND EXACT config.json

Search for files across the entire system to find exact matches

Add to Favorites

FAV SET STATE

Add currently selected file to your favorites for quick access

Execute File

RUN STATE

Execute the currently selected file from state