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

[Enhancement] trash-empty should have --dry-run and --verbose options

Open fastcat opened this issue 8 years ago • 3 comments

The trash-empty command ought to have a --dry-run option that causes it to only print what it would empty without actually emptying it, and a --verbose option that prints what it is removing as it goes.

fastcat avatar Jun 21 '17 15:06 fastcat

I agree it would be very useful. I'm happy to create the PR for this if @andreafrancia is willing to review and consider a PR for this feature.

landerlo avatar Apr 22 '19 19:04 landerlo

@andreafrancia This Issue is quite old. Does @landerlo still want to provide an PR for this? We need an answer from @andreafrancia first if this would be accepted.

buhtz avatar Aug 05 '21 15:08 buhtz

I cannot say if a Pull Request will be accepted before seeing it. You don't need me to add a functionality to trash-cli just fork it, implements what you think is needed and use PR and issues to let other people know your version exists. If the patch is worth it will be eventually incorporated in this project.

andreafrancia avatar Aug 05 '21 16:08 andreafrancia

Implemented in f5d3b34 and in 31954e2.

andreafrancia avatar Sep 25 '22 20:09 andreafrancia