Skip to content

DanOverflow/rapid-delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rapid_delete

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.

Features

  • Fast parallel deletion (about twice as fast as rd -r -f or rm -rf on Windows)
  • Progress reporting with estimated time remaining
  • Depth-first deletion to optimize removal of deeply nested structures

Usage

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

Examples

# Basic usage
rad ./directory_to_delete/

# Enable logging
RUST_LOG=info rad ./directory_to_delete/

Logging

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

Building from Source

# 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...>

About

Delete large directory-trees, fast.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENCE-APACHE.txt
MIT
LICENCE-MIT.txt

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors