2 releases (1 stable)
Uses new Rust 2024
| 1.0.0 | May 23, 2025 |
|---|---|
| 0.1.0 | May 23, 2025 |
#1969 in Command line utilities
18KB
🗑️ tsh - Move files to Trash Bin
tsh is a simple command-line tool written in Rust that moves files and folders to the Trash Bin, instead of permanently deleting them.
🔧 Installation
Make sure you have Rust installed.
cargo install tsh
If installing from a local directory:
git clone https://github.com/imnyang/tsh.git
cd tsh
cargo install --path .
🚀 Usage
tsh <file_or_folder> [more_files_or_folders...]
tsh file.txt
tsh folder/ notes.md image.png
📦 Features
-
✅ Safe delete: files go to Trash, not permanently removed.
-
🔧 Built on the reliable trash crate.
Dependencies
~0.2–26MB
~298K SLoC