Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trash-empty empty only PWD trashcan (like trash-restore does) #302

Open
Andrew15-5 opened this issue May 22, 2023 · 0 comments
Open

trash-empty empty only PWD trashcan (like trash-restore does) #302

Andrew15-5 opened this issue May 22, 2023 · 0 comments

Comments

@Andrew15-5
Copy link

Is your feature request related to a problem? Please describe.

I use lf with trash-cli and I can't empty only one of many trashcans. But I can empty all of them or empty all of them from all users or empty --trash-dir which wants a valid trashcan path (I don't know how to get it without making a whole script file).

Describe the solution you'd like
I want trash-empty to work as the trash-restore command, which will automatically only list files from the current trashcan. Or add an option like --local-trash-dir.

Describe alternatives you've considered

I can in theory whip up a script that will give me a valid trashcan path and then use it with --trash-dir option, but it probably
wouldn't be concise and readable, so I don't think that would be a great idea.

Additional context
trash-cli: 0.23.2.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant