Byron/trash-rs
View on GitHub ↗ ★ 255 Rust
A Rust library for moving files to the Recycle Bin
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2022-10-12 · latest 2025-10-01
20082026
-
…interface such as the trash bin or recycle bin concept). Examples: https://github.com/imnyang/tsh https://github.com/Byron/trash-rs Now, I think you could do #5 or #6 (and add `mv` and `dd` as well, but where does the list end?), but I…
comment by Fnoord · 2025-10-01 · in Atuin Desktop: Runbooks That Run – Now Open Source -
…exist in this category. They usually also follow XDG, and some are cross os. I’m currently using https://github.com/Byron/trash-rs Supports windows, macOS and Linux.
comment by bdhcuidbebe · 2025-09-07 · in Show HN: rm-safely – A shell alias that moves files to trash instead of deleting -
There's a cross-platform trash/recycling library you might be interested in: https://github.com/Byron/trash-rs
comment by mkingston · 2024-02-20 · in Show HN: A CLI tool that enables you to remove files easily and safely -
Oddly enough, https://github.com/Byron/trash-rs also has this same UI issue (and is also written in Rust)
comment by nextaccountic · 2022-10-12 · in Show HN: Rmt an alternative to rm with trash written in Rust