Giter Site home page Giter Site logo

0xmrtt / trashctl Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.16 MB

A command line interface for trash written in Rust (WIP)

Home Page: https://0xMRTT.github.io/trashctl

License: GNU General Public License v3.0

Rust 100.00%
clap clap-rs cli ctl freedesktop rust rust-cli rust-lang trash trash-management

trashctl's Introduction

trashctl

A command line interface for trash

GPLv3 License Continuous integration Deploy Rust

Features

  • Add file to trash
  • List files
  • Permanently delete a file
  • Restore file
  • Empty the trash

Documentation

If you want a complete documentation, see the doc on docs.rs. Otherwise, read the book

Screenshots

App Screenshot

Installation

Install with cargo

cargo install trashctl

AUR

Install from the AUR

yay -S trashctl

Install from source

For this, you need git and rustup

git clone https://github.com/0xMRTT/trashctl
cd trashctl
cargo b
./target/debug/trashctl

Use github releases

Download binaries on the releases page (in the right pane)

Usage/Examples

TODO

trashctl put foo

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.

Running Tests

To run tests, run the following command

cargo test

Feedback

If you have any feedback, please open an discussion.

Support

For support, open an discussion or join the matrix channel.

FAQ

What can I do if y accidently empty my trash ?

Stop using your system. Boot into a live cd and use tools like photo rec

Authors and contributors

Tech Stack

cli: clap, clap_complete

Related

Here are some related projects

trash-cli

Acknowledgements

License

GPLv3

trashctl's People

Contributors

0xmrtt avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

trashctl's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

cargo
Cargo.toml
  • clap 3.2.6
  • clap_complete 3.2.2
  • anyhow 1.0
  • dirs 4.0.0
  • chrono 0.4.19
  • fs_extra 1.2.0
  • clap-verbosity-flag 1.0.1
  • env_logger 0.9.0
  • log 0.4.17
  • configparser 3.0.0
github-actions
.github/workflows/deploy.yml
  • actions/checkout v2
.github/workflows/grcov.yml
  • actions/checkout v1
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • actions-rs/grcov v0.1
.github/workflows/matrix.yml
  • actions/checkout v2
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • actions-rs/cargo v1
.github/workflows/rust-clippy.yml
  • actions/checkout v2
  • actions-rs/toolchain 16499b5e05bf2e26879000db0c1d13f7e13fa3af
  • github/codeql-action v1
.github/workflows/rust.yml
  • actions/checkout v3

  • Check this box to trigger a request for Renovate to run again on this repository

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.