trash-d: Replacement for rm that uses the trash bin
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Aug 24 17:09:35 UTC 2021
On Tue, Aug 24, 2021 at 02:19:58AM +0000, 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...
More information about the Digitalmars-d-announce
mailing list