{"id":17279852,"url":"https://github.com/0xmrtt/trashctl","last_synced_at":"2026-01-20T15:07:36.376Z","repository":{"id":40667108,"uuid":"507884934","full_name":"0xMRTT/trashctl","owner":"0xMRTT","description":"A command line interface for trash written in Rust (WIP)","archived":false,"fork":false,"pushed_at":"2022-08-30T22:45:25.000Z","size":1186,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T14:57:10.131Z","etag":null,"topics":["clap","clap-rs","cli","ctl","freedesktop","rust","rust-cli","rust-lang","trash","trash-management","trashctl"],"latest_commit_sha":null,"homepage":"https://0xMRTT.github.io/trashctl","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xMRTT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-27T11:41:48.000Z","updated_at":"2022-11-11T18:28:49.000Z","dependencies_parsed_at":"2022-08-10T00:23:33.012Z","dependency_job_id":null,"html_url":"https://github.com/0xMRTT/trashctl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMRTT%2Ftrashctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMRTT%2Ftrashctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMRTT%2Ftrashctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xMRTT%2Ftrashctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xMRTT","download_url":"https://codeload.github.com/0xMRTT/trashctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247459873,"owners_count":20942310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clap","clap-rs","cli","ctl","freedesktop","rust","rust-cli","rust-lang","trash","trash-management","trashctl"],"created_at":"2024-10-15T09:18:47.887Z","updated_at":"2026-01-20T15:07:36.370Z","avatar_url":"https://github.com/0xMRTT.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# `trashctl`\n\nA command line interface for trash\n\n[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://opensource.org/licenses/)\n[![Continuous integration](https://github.com/0xMRTT/trashctl/actions/workflows/matrix.yml/badge.svg)](https://github.com/0xMRTT/trashctl/actions/workflows/matrix.yml)\n[![Deploy](https://github.com/0xMRTT/trashctl/actions/workflows/deploy.yml/badge.svg)](https://github.com/0xMRTT/trashctl/actions/workflows/deploy.yml)\n[![Rust](https://github.com/0xMRTT/trashctl/actions/workflows/rust.yml/badge.svg)](https://github.com/0xMRTT/trashctl/actions/workflows/rust.yml)\n\n\n## Features\n\n- Add file to trash\n- List files\n- Permanently delete a file\n- Restore file\n- Empty the trash\n\n\n## Documentation\n\nIf you want a complete [documentation](https://docs.rs/trashctl), see the doc on [docs.rs](https://docs.rs/trashctl). Otherwise, read the [book](https://0xMRTT.github.io/trashctl)\n\n\n## Screenshots\n\n![App Screenshot](https://via.placeholder.com/468x300?text=App+Screenshot+Here)\n\n\n## Installation\n\nInstall with `cargo`\n\n```bash\ncargo install trashctl\n```\n\n### AUR\n\nInstall from the AUR\n\n```bash\nyay -S trashctl\n```\n\n### Install from source\n\nFor this, you need `git` and `rustup`\n\n```bash\ngit clone https://github.com/0xMRTT/trashctl\ncd trashctl\ncargo b\n./target/debug/trashctl\n```\n    \n### Use github releases\n\nDownload binaries on the releases page (in the right pane)\n## Usage/Examples\n\nTODO\n```shell\ntrashctl put foo\n```\n\n\n## Contributing\n\nContributions are always welcome!\n\nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md) for ways to get started.\n\nPlease adhere to this project's [`CODE_OF_CONDUCT`](./CODE_OF_CONDUCT.md).\n\n\n## Running Tests\n\nTo run tests, run the following command\n\n```bash\ncargo test\n```\n\n\n## Feedback\n\nIf you have any feedback, please open an discussion.\n\n\n## Support\n\nFor support, open an discussion or join the matrix channel.\n\n\n## FAQ\n\n#### What can I do if y accidently `empty` my trash ?\n\nStop using your system. Boot into a live cd and use tools like `photo rec`\n\n\n\n## Authors and contributors\n\n- [@0xMRTT](https://www.github.com/0xMRTT)\n- [Maybe you ?](#Contributing)\n\n\n## Tech Stack\n\n**cli:** `clap`, `clap_complete`\n\n\n\n## Related\n\nHere are some related projects\n\n[`trash-cli`](https://github.com/andreafrancia/trash-cli)\n\n\n## Acknowledgements\n\n - [Clap](https://docs.rs/clap)\n## License\n\n[GPLv3](https://choosealicense.com/licenses/gpl-3.0/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xmrtt%2Ftrashctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xmrtt%2Ftrashctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xmrtt%2Ftrashctl/lists"}