Re: trash-d: Replacement for rm that uses the trash bin
On Tuesday, 24 August 2021 at 02:19:58 UTC, rushsteve1 wrote: https://github.com/rushsteve1/trash-d A near drop-in replacement for `rm` that uses the Freedesktop trash bin. Started because an acquaintance `rm -rf`'d his music folder and I thought there had to be a better way. It's pretty simple and only uses the D stdlib. Been working on it in my spare time for a bit over a week and I figure it's good enough to show people. I started this project in Bash originally but switched to D since I thought it would be a good way to learn some more (also Bash is scary). Ended up being a great choice! Pretty new to D so feedback welcome! Welcome!
Re: trash-d: Replacement for rm that uses the trash bin
On Tuesday, 24 August 2021 at 02:19:58 UTC, rushsteve1 wrote: https://github.com/rushsteve1/trash-d A near drop-in replacement for `rm` that uses the Freedesktop trash bin. Started because an acquaintance `rm -rf`'d his music folder and I thought there had to be a better way. It's pretty simple and only uses the D stdlib. Been working on it in my spare time for a bit over a week and I figure it's good enough to show people. I started this project in Bash originally but switched to D since I thought it would be a good way to learn some more (also Bash is scary). Ended up being a great choice! Pretty new to D so feedback welcome! Funny seeing you here!
Re: trash-d: Replacement for rm that uses the trash bin
On Tue, Aug 24, 2021 at 02:19:58AM +, rushsteve1 via Digitalmars-d-announce wrote: > https://github.com/rushsteve1/trash-d > > A near drop-in replacement for `rm` that uses the Freedesktop trash > bin. Started because an acquaintance `rm -rf`'d his music folder and > I thought there had to be a better way. Cool! > It's pretty simple and only uses the D stdlib. Been working on it in > my spare time for a bit over a week and I figure it's good enough to > show people. Very nice! > I started this project in Bash originally but switched to D since I > thought it would be a good way to learn some more (also Bash is > scary). Ended up being a great choice! Agreed, I wouldn't touch bash scripting with a 100-foot pole if I could help it. D is much better for this sort of thing. ;-) > Pretty new to D so feedback welcome! Welcome! T -- The early bird gets the worm. Moral: ewww...
Re: trash-d: Replacement for rm that uses the trash bin
On Tuesday, 24 August 2021 at 02:34:54 UTC, Paul Backus wrote: One thing I would have liked to see in the README, and had to go digging through the source code for, is a list of supported command-line options. You might consider copy+pasting the output of `trash --help` into the README, to give readers a quick overview of its capabilities. Thanks for the suggestion, I've updated the README with the flags and a "usage" section. Doing that actually made me realize another issue with flag precedence, so thanks for helping me find that too :) While I was in there I found another couple bugs (never ends does it?) that I quickly fixed, so I'm going to tag a new release.
Re: DConf Online 2020 Videos Re-edited
properly -> probably
Re: DConf Online 2020 Videos Re-edited
Awesome, properly tedious, work. Thank you