Re:Show HN: rm-safely – A shell alias that moves files to tr...
by mixmastamyk on Sunday September 07, 2025 @03:26PM
(#45161364)
trash-cli has existed for a while, although it may not work on MacOS. A feature comparison might be useful.
[ Parent
| on HN ]
Re:Show HN: rm-safely – A shell alias that moves files to tr...
by jasonhemann on Sunday September 07, 2025 @05:05PM
(#45162145)
There is indeed a similar, maybe even same, trash that works on MacOS and available on brew. Users are covered there too.
Re:Show HN: rm-safely – A shell alias that moves files to tr...
by zdkaster on Monday September 08, 2025 @11:23PM
(#45177028)
Similar, rm-safely is just a simple shell function though. you don't need to really install another specialty command, just copy over rm() function put them in your shell rc.