This will print out all the rm -fv commands that would be run. It’s basically rm -rf --dry-run, but rm doesn’t have that common option. Once you’ve verified that that’s what you want to do, run it again without echo to do the actual deletion. If you’re scared of having that in your history, either use a full path for .git, or prepend a space to the non-echo version of the command to make it avoid showing up in your shell history (assuming you have ignorespace in your HISTCONTROL env var)
I use this xargs echo pattern a lot when I’m crafting commands that are potentially destructive or change lots of things.
He also seems to make a video almost every day. That really doesn’t help with the quality of the video’s. I doubt there is a lot of time to do additional research on the topic, so often it seems to just stick to the basic information from some kind of article and comments (and maybe a few related articles). And is often just related to the drama of the day.
Although he does sometimes have video’s that do require more research, but a lot of people won’t see those as they assume low quality because of many other video’s.
Widely considered?
Surprised to hear that, whenever someone posts him on Lemmy most of the comments act like he’s the best thing since sliced bread in video form
I found a Python project that does enough for my needs. Jq looks super powerful though. Thanks. I managed to get yq working for PNG’s, but I had trouble with both jq and yq with safetensor files. I couldn’t figure out how to parse a string embedded in an inconsistent starting binary, and with massive files. I could get in and grab the first line with head. I tried some stuff with expansions, but that didn’t work and sent me looking for others that have solved the issue better than myself.
Additionally you could move the git folder to the trash folder. I think it’s usually located at $HOME/.local/share/trash/files/
Moving something to the trash files folder isn’t the correct way to trash it, since the Trash specification requires storing some metadata for each trash item.
Tech Enthusiasts: Everything in my house is wired to the Internet of Things! I control it all from my smartphone! My smart-house is bluetooth enabled and I can give it voice commands via alexa! I love the future!
Programmers / Engineers: The most recent piece of technology I own is a printer from 2004 and I keep a loaded gun ready to shoot it if it ever makes an unexpected noise.
linux
Oldest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.