trash-cli icon indicating copy to clipboard operation
trash-cli copied to clipboard

Command line interface to the freedesktop.org trashcan.

Results 104 trash-cli issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** For scripting and even sometimes for daily usage (esp. when running with `xargs`), using `trash-put` is like driving blind as...

**Describe the bug** Commands provided by this utility allow to specify multiple files to manipulate, but ZSH autocompletions suggest filenames only for one parameter. **trash-cli version** 0.23.11.10 **Are you using...

I have a number of bind mounts, and `trash-list` shows trashed items without any duplication. However, the problem in my case is that `trash-put` moves items to "**.Trash-1000**" in that...

No problem. Would you accept to hybridize mock usage ? Like this: try: from unittest import mock except ImportError: import mock We are slowly trying to remove mock,nose,unittest2,future etc... from...

Fixes: #339 I don't really like the idea of a "compat" module but if one must...

**Is your feature request related to a problem? Please describe.** I often use my trash for things categorised as "I probably won't ever need this again, but I'll quickly store...

**Describe the bug** When the ownership of the trash directory is incorrect, `trash-put` hangs indefinitely trying to trash files. **trash-cli version** 0.24.5.26 Originally found in 0.24.4.17; I cloned the latest...

**Describe the bug** When I run `trash-restore` I get a very long list of `Non .trashinfo file in info dir` entries. ``` $ trash-restore Non .trashinfo file in info dir...

**Describe the solution you'd like** Sort the `trash-list` output in chronological order, and if the times are the same, sort by file path names in A-Z order. **Additional context** trash-list...

**Describe the bug** `trash-empty` fails to run with following on Termux(Android 14) ``` Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/trash-empty", line 5, in sys.exit(main()) ^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/trashcli/empty/main.py", line 35, in...