trash-cli
Lobsters
Our great sponsors
trash-cli | Lobsters | |
---|---|---|
40 | 263 | |
3,363 | 3,913 | |
- | 1.1% | |
8.8 | 9.5 | |
9 days ago | 1 day ago | |
Python | Ruby | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
trash-cli
-
Show HN: A CLI tool that enables you to remove files easily and safely
There's a Freedesktop specification for trashing files that you may consider adhering to: https://specifications.freedesktop.org/trash-spec/trashspec-...
I get that writing a small utility is fun, but if it is just that (for fun), I suggest you put that into the readme. Otherwise, why should I choose your tool over something like https://github.com/andreafrancia/trash-cli, which seems to already be distributed for the major distros? Does your implementation scratch an itch that the myriad of other implementations don't? I'm just curious.
-
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.
-
Based on True events.
They're probably talking about something like this rather than a GUI file manager
You can use trash-cli instead. I rarely use rm now.
-
What has been your most painful Linux experience?
It's a bad idea to alias rm. You will get trouble on a machine that has no alias. Use trash-cli instead. It's much safer than rm. BTW, don't alias trash as rm because they are different.
-
The fastest rm command and one of the fastest cp commands
For Linux there's [trash-cli](https://github.com/andreafrancia/trash-cli/). Doesn't seem to work for MacOS per this issue (https://github.com/andreafrancia/trash-cli/issues/284), but it suggests to use https://hasseg.org/trash/
-
I did it boys: I blew away ~
Use trash-cli for all your rm -rf needs!
-
never "rm -rf" the wrong thing again with this handy script
There are a number of foss tools that work with the freedesktop trashcan concept on Linuxes/BSDs, like https://github.com/andreafrancia/trash-cli. Bunch of desktop envs' programs also use this, so it's nearer to OS-wide standardized behavior.
-
Just accidentally nuked ~90% of my video library
POSIX compatibility/compliance. That being said, there are various trash programs available, namely trash.
-
btrfs-undelete: A simple script for recovering just-deleted files, directories, and wildcards. This script saved my ass just now. (GPLv2)
I recommend installing trash-cli for a file-system independent way of recovering deleted files, and then (most importantly) training your muscle-memory to type trash instead of rm. (And also don't alias rm to trash either, as one day you'll be on a device where trash-cli is not installed and wham).
Lobsters
-
Show HN: Mutable.ai – Turn your codebase into a Wiki
Requesting https://github.com/lobsters/lobsters as I'm going through that codebase and would be able to provide feedback. cheers
ps. just gonna second everyone else who's saying being able to edit out incorrect data is very important, otherwise people are gonna be weary of reading repos they aren't already familiar with.
-
Missing A-Record for HTTPS://Lobste.rs
I can't reach lobsters at the moment and it seems to be a DNS issue? https://lobste.rs
-
Ask HN: What are some excellent blogs, news boards, YouTube channels to follow?
For a great fusion of art and engineering I can warmly recommend Wintergatan’s YouTube channel: https://www.youtube.com/@Wintergatan
As a complement to HN, Lobsters isn’t too shabby: https://lobste.rs
-
Lobsters
Weird because primarily submitting one's own stuff seems to be pretty common there. Random example from a user currently on the front page: https://lobste.rs/~rednafi/stories
And that is not the only one on the front page right now that's submitting mostly their own stuff.
> when I attempted to post my things, I get told that this content is not welcome on the site. Why my content is not welcome and other people's self-promotional articles are I don't quite understand, but it is obvious they don't need me on the website.
I feel the same. I spent a fair bit of time on the site, including posting ~600 articles and commenting. Some of my posts got a fair bit of upvotes. I got a couple of warnings when I posted my own content, even though it was 5-10% of my posts. Super frustrating, so I told the moderator I wasn't going to participate any more. And I haven't. Their site, their rules, but I don't have to spend my time there.
https://lobste.rs/~mooreds is my profile.
-
Ask HN: Is HN Dying?
A few to shake things up:
- Ask HN: What are some communities like HN?
- Sites like HN on other topics?
What are some alternatives?
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service - community repo
xBrowserSync - xBrowserSync browser extensions / mobile app
Firefox Sync Server - Run-Your-Own Firefox Sync Server
Bookie - Python based delicious.com replacement
Pinry - Pinry, a tiling image board system for people who want to save, tag, and share images, videos and webpages in an easy to skim through format. It's open-source and self-hosted.
unmark - An open source to do app for bookmarks.
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Lemmy - 🐀 A link aggregator and forum for the fediverse
Myyna
ClearUrls
saveto.co - Saveto. Quick for save link, collections, notes, snipping, ...
saidit - The reddit open source fork powering SaidIt