Repository Details
Shared by
HelloGitHub Rating
0 ratings
A Command-Line Trash Tool
Past 6 days Received 2 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周六 | 4,628 | — |
| 周日 | 4,629 | +1 |
| 周一 | 4,629 | 0 |
| 周二 | 4,628 | -1 |
| 周三 | 4,629 | +1 |
| 周四 | 4,630 | +1 |
4.6k
Stars
No
Chinese
Python
Language
Yes
Active
64
Contributors
86
Issues
No
Organization
None
Latest
216
Forks
GPL-2.0
License
This is a command-line trash tool written in Python. When deleting a file, it first moves it to the trash, preventing accidental rm deletions from becoming unrecoverable. It shares the same trash as the desktop environment and records each file's original path, deletion time, and permissions. It provides commands for trashing, listing, restoring, emptying, and rule-based deletion, and can purge files deleted more than a specified number of days ago. It works in scripts and terminals.
Comments
Rating:
No comments yet