trash-d: Replacement for rm that uses the trash bin

Brian bcallah at openbsd.org
Tue Aug 24 23:11:35 UTC 2021


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!


More information about the Digitalmars-d-announce mailing list