Skip to content
项目

关于

Rmt 类似 rm 命令,但会将删除的项目移入回收站,以便恢复。Rmt 使用 Rust 编写 🦀

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🗑️ Rmt.rs

Fun fact: Stable diffusion generated this logo 🎨

Rmt is similar to the rm command, but it allows me to save the deleted elements in the trash. If you wish, you can restore the previously deleted elements of your choice (or delete them forever) with a cli.

UmzJ1r8Z7D

👨🏽‍💻 Installation

⚡️ Quick start

Download the binary depending on your configuration here: https://github.com/AmineZouitine/rmt.rs/releases

Then you just need to enter this command in your terminal:

tar -xf <downloaded_archive> rmt && sudo mv rmt /usr/local/bin

😎 Pro tip (optional)

Add rmt as an alias instead of the rm command.

Features

🚮 Delete an element (but it is saved in the trash don't worry)

rmt [OPTION]... [FILE|FOLDER]...

Exemples:
rmt text.txt
rmt * -- -text.txt
rmt folder test.txt *.sh

✨ I like to use -f option, to remove all the warnings.

📺 Launch GUI to restore or flush elements

rmt --td

❌ Flush all element from the trash

rmt --tf

🔎 Informations about the trash

rmt --ti

🔧 Using the configuration file (Not stable yet)

You can customize the behavior of the trash bin by editing the configuration file located at ~/.trash_rmt/config_rmt.yml.

Currently, you have the option to encrypt your data so that it becomes unreadable from the trash. Compression is a feature that will be available in the future.

compression: true
encryption: true
trash: null

🫵 Contribution

You can find all the information in the file CONTRIBUTING.md. Hoping to see you soon in my pull request 😊

探索相关项目

加载中…