A fast directory tree deletion tool for quickly removing large directory structures. Equivalent to Linux/UNIX's 'rm -rf', but faster on drives with fast IO.
- Fast parallel deletion (about twice as fast as
rd -r -forrm -rfon Windows) - Progress reporting with estimated time remaining
- Depth-first deletion to optimize removal of deeply nested structures
Usage: rad [<paths...>] [-v]
A fast deletion tool for large directory-trees
Positional Arguments:
paths paths to directories to delete
Options:
-v, --version print version information
-h, --help display usage information
# Basic usage
rad ./directory_to_delete/
# Enable logging
RUST_LOG=info rad ./directory_to_delete/Set the RUST_LOG environment variable to control logging:
# Available log levels (from least to most verbose):
RUST_LOG=off # No logging (default)
RUST_LOG=error # Error messages only
RUST_LOG=warn # Warnings and errors
RUST_LOG=info # General information, warnings, and errors
RUST_LOG=debug # Detailed debug information
RUST_LOG=trace # Very detailed trace information
# Per-module log levels:
RUST_LOG=rapid_delete=info,rapid_delete::deletion=debug# Clone the repository
git clone https://github.com/yourusername/rapid_delete.git
cd rapid_delete
# Build in release mode
cargo build --release
# Run the application
./target/release/rad <PATHS...>