Skip to content

evolvbits/strash

sTrash

CI Version Rust

🦀 sTrash securely deletes trash and files.

A program that runs on top of shred to clean the recycle bins and files safely without leaving a trace. Completely rewritten in Rust from a previous Python implementation, ensuring performance, cross-environment compatibility, and safety.

Requirements

Before configuring and executing sTrash, ensure you have the following packages installed on your Linux system:

  • gio: Standard CLI utility typically found in Glib packages.
  • shred: Required for secure deletion logic.

Usage

You can use the built-in CLI options to target specific files, change iterations, or let it auto-clean all trash directories detected:

strash [OPTIONS]

Options:

  • -p, --path <path>: Remove a specified folder or file (recursive for folders)
  • -y, --yes: Do not show the action confirmation dialog (only for --path)
  • -n, --iterations <N>: Replaces N times instead of 3 (the default)
  • -k, --kill: Safely remove and close the terminal afterwards
  • -c, --credits: Show credits
  • -V, --version: Display the version

Building from Source

cargo build --release

The binary will be located in target/release/strash.

Community


© Evolvbits - All rights reserved.

About

🦀 sTrash securely deletes trash and files.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages