Get the latest tech news

Show HN: rm-safely – A shell alias that moves files to trash instead of deleting


'rm' safely – a safety net for the risky rm. Contribute to zdk/rm-safely development by creating an account on GitHub.

rm-safely is a safety shell alias to prevent the accidental deletion of important files, especially, default MacOS rm This is just a handy shell wrapping function along with option to directly invoke/bin/rm with--rm. But, with the alias, it can prevent you in case of autocomplete from shell history that left of with random rm -rf

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Files

Files

Photo of shell alias

shell alias

Related news:

News photo

Microsoft Word will save your files to the cloud by default

News photo

5 more ways to share files on Linux that every pro should know

News photo

How I easily transfer files between my Android phone and Mac - for free