trash-d: Replacement for rm that uses the trash bin
rushsteve1
rushsteve1 at rushsteve1.us
Wed Aug 25 20:30:21 UTC 2021
On Wednesday, 25 August 2021 at 18:37:33 UTC, Vladimir Panteleev
wrote:
> I suggest investigating that as a future improvement. Not only
> is moving files within the same volume much faster (potentially
> an O(1) operation as opposed to having to read then write every
> byte of data), but it can also result in space savings (in the
> case of filesystem snapshots).
You're entirely right. I made an initial pass at this a little
while back, and decided (for the time being at least) that it
would complicate `trash-d` quite a bit more than I wanted.
But it's something on my radar, and could be a very good feature
to add at some point. I've opened [a GitHub issue for
discussing/tracking
this](https://github.com/rushsteve1/trash-d/issues/2), since I
figured the D forums weren't the right place for such a
discussion.
More information about the Digitalmars-d-announce
mailing list