Git Product home page Git Product logo

rmt.rs's Introduction

๐Ÿ—‘๏ธ 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: false # not implemented yet
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 ๐Ÿ˜Š

rmt.rs's People

Contributors

adilzouitine avatar aminezouitine avatar lanius412 avatar stevenblack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.