talismanick | How might I install useful packages like fd? (Rust rewrite of find(1)) | 21:46 |
---|---|---|
gnarface | i'm guessing it's in the package called "fd-find" | 21:47 |
hagbard | It even says so in the Readme of the github repo of fd: "apt install fd-find" | 21:49 |
talismanick | Ah, I was going to say it still said there's no binary "fd", but it's instead "fdfind" | 21:49 |
talismanick | hagbard: Serves me right for not looking lol | 21:49 |
hagbard | But thanks for pointing me to fd, it looks interesting. | 21:52 |
talismanick | It's so much faster than find! And, it feels more Unixy | 21:52 |
hagbard | talismanick: you could, in your shell (.bashrc), alias fdfind to fd. | 21:57 |
rwp | "find" is one of those odd commands that was written to a spec from an outside department and so does not follow the syntax conventions of other Unix programs of the era. | 23:40 |
rwp | Since aliases only work on the command line and one might want this to work in a script when I hit those cases I create a shell wrapper #!/bin/sh; exec fdfind "$@"; and then it can be used anywhere. | 23:42 |
rwp | (Not that I have done that with fdfind before. That's just an example.) | 23:42 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!