Re:Scripts I wrote that I use all the time
by blacksmith_tb on Thursday October 23, 2025 @12:37PM
(#45683907)
The trash command for macOS that's being talked about above is native in the OS now, since v14 according to its manpage, though I see it may have really been v15[1]
Does all the right things and works great.
There’s a similar tool that works well on Linux/BSDs that I’ve used for years, but I don’t have my FreeBSD desktop handy to check.