README.md
This commit is contained in:
parent
cfe0f97309
commit
9f91d5a2a3
1 changed files with 35 additions and 0 deletions
35
README.md
Normal file
35
README.md
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
# 🗑️ 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](https://www.rust-lang.org/tools/install) installed.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo install tsh
|
||||||
|
```
|
||||||
|
|
||||||
|
If installing from a local directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/imnyang/tsh.git
|
||||||
|
cd tsh
|
||||||
|
cargo install --path .
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🚀 Usage
|
||||||
|
```sh
|
||||||
|
tsh <file_or_folder> [more_files_or_folders...]
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
tsh file.txt
|
||||||
|
tsh folder/ notes.md image.png
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📦 Features
|
||||||
|
- ✅ Safe delete: files go to Trash, not permanently removed.
|
||||||
|
|
||||||
|
- 🔧 Built on the reliable [trash](https://crates.io/crates/trash) crate.
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue