shell-safe-rm
thefuck
shell-safe-rm | thefuck | |
---|---|---|
6 | 305 | |
411 | 82,883 | |
- | - | |
0.0 | 4.2 | |
about 6 years ago | 6 days ago | |
Shell | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shell-safe-rm
-
what is you recommended way to protect accidental delete woth rm -rf in opensuse
i ended up using shell-safe-rm plus trash-cli and my own wrapper script around rm that verifies some rules like for example the argument don't start with '/' , if i want to delete for example /home/shin/.local/somefile then the script will not let me and suggest to cd to /home/me/.local and delete from there , same if i do rm /var/somedir.
-
Ask HN: Can I see your scripts?
I use a script called `shell-safe-rm` [1], aliased as `rm` in interactive shells, such that I don't normally use `rm` directly. Instead of directly removing files, they are placed in the trash folder so they can be recovered if they were mistakenly deleted. Highly recommend using a script/program like this to help prevent accidental data loss.
[1] https://github.com/kaelzhang/shell-safe-rm
-
F!ck I just did a “‘rm -rf *” in my home directory 🥹💔
You could think about using trash-cli or safe-rm if you're too trigger happy with your terminal
-
trash-d: A near drop-in replacement for rm that uses the trash bin
So what's really is the difference/advantage compared to at least five other similar utilities already existing (trash-cli, shell-safe-rm, rm-trash, rmtrash, crap)? Can't really be that it uses D as the programming language. As a matter of fact why're there five utilities doing the same thing in the first place?
- Safe Rm
-
Suicide Linux
I meant I'm using safe-rm now but I was using another wrapper when I was younger for who knows why
thefuck
-
Control Linux based distros using hand gestures using OpenCV, GTK, Mediapipe
Are you by chance interested in a command named after the four-letter word, which automatically fixes and reruns the last command: https://github.com/nvbn/thefuck
- Thefuck: Correct errors in previous console commands
-
thefuck VS oh-crab - a user suggested alternative
2 projects | 5 Jan 2024
- Milyen hasznos Github repokat ismertek?
-
Code and Chill Guide 2023
With a good terminal, you can work 2-4 times faster. This will save time and reduced your errors. You can also use fuck (just like how you swear most of the time) to correct errors easily.
- Thefuck: Correct Your Previous Console Command
-
Proof of Concept: Local LLM to execute terminal comands (Here GPT-2)
Now I want a thefuck implementation via uncensored LLMs.
- better than admitting I'm too too lazy to correct the command
-
How to start a Go project in 2023
>spellcheck on commands
I prefer to just type "fuck":
https://github.com/nvbn/thefuck
-
What's everyone working on this week (21/2023)?
I am starting to learn Rust and I am starting to implement the fuck CLI tool in Rust. Do you think this is a good use of my learning time?
What are some alternatives?
rm-trash - A "rm-trash" is meant to be used in place of rm system command in linux . This script will safely delete your files and put them in the trash for later retrieval.
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
trash-d - A near drop-in replacement for rm that uses the trash bin. Written in D
httpie - 🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
rmtrash - Put files (and directories) in trash using the `trash-put` command in a way that is, otherwise as `trash-put` itself, compatible to GNUs `rm` and `rmdir`
fish-shell - The user-friendly command line shell.
IKEv2-setup - Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
howdoi - instant coding answers via the command line
openscripts - (Some of) My personal scripts.
aws-cli - Universal Command Line Interface for Amazon Web Services
bash - Unofficial mirror of bash repository. Updated daily.
poe-archnemesis-scanner - Tool for Path of Exile game to automatically scan Archemesis inventory and display related information