Hacker GitHub

← All repos

sindresorhus/trash-cli

View on GitHub ↗ ★ 1,419 JavaScript

Move files and folders to the trash

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2016-04-15 · latest 2021-11-09

Mentions per year 4 mentions · busiest year 2016 (2)
20082026
  1. …willing to lean into npm a bit, there's tools that give a layer of protection over rm such as https://github.com/sindresorhus/trash-cli
    comment by throwawaycuriou · 2021-11-09 · in $ sudo rm -rf / === NPM install
  2. …that moves files to "trash". Alias "rm" to display an error message to avoid accidental deletions. https://github.com/sindresorhus/trash-cli
    comment by inertial · 2017-10-11 · in Times I've Messed Up as a Developer
  3. ▲ 1
    Trash-cli
    story by pradeeprawat · 2016-10-17 · 0 comments
  4. …to the trash [1] instead. [0]: https://github.com/sindresorhus/guides/blob/master/how-not-t... [1]: https://github.com/sindresorhus/trash-cli