• Goun@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    20 hours ago

    Another MIT licensed rust copycat… I rather stick to GNU, but thanks.

  • steeznson@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 day ago

    One thing I like about knowing find (and grep for that matter) is that you know it will be installed everywhere. It makes working on remote servers so much easier, especially if you can’t install any new packages with your user permissions.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Even without install permissions, as a non-root user you can grab binaries generally. Store them in ~/.local/bin and add them to your $PATH via ~/.bashrc.

      I’ve been using bin for a few weeks now and find it great for situations like this. Grab the binary, put it in your $PATH. Then just grab binaries from Github; bin install github.com/sharkdp/fd and it plops the binary in your ~/.local/bin folder. Works for updates, too;

      ~
      ❯ bin
      
      Path                             Version         URL                                                         Status
      C:\Utilities\exe\ag.exe          v2.2.0          github.com/monochromegane/the_platinum_searcher             OK
      C:\Utilities\exe\aria2c.exe      release-1.37.0  github.com/aria2/aria2                                      OK
      C:\Utilities\exe\atto.exe        v1.6.0          github.com/codesoap/atto                                    OK
      C:\Utilities\exe\bat.exe         v0.25.0         github.com/sharkdp/bat                                      OK
      C:\Utilities\exe\blush.exe       v0.6.0          github.com/arsham/blush                                     OK
      C:\Utilities\exe\ccat.exe        v1.1.0          github.com/owenthereal/ccat                                 OK
      C:\Utilities\exe\croc.exe        v10.2.1         github.com/schollz/croc                                     OK
      C:\Utilities\exe\dog.exe         v1.0.5          github.com/mr-karan/doggo                                   OK
      C:\Utilities\exe\fd.exe          v10.2.0         github.com/sharkdp/fd                                       OK
      C:\Utilities\exe\feeless.exe     v0.1.11         github.com/feeless/feeless                                  OK
      C:\Utilities\exe\fetch.exe       2.38.0          github.com/fastfetch-cli/fastfetch                          OK
      C:\Utilities\exe\fzf.exe         v0.60.3         github.com/junegunn/fzf                                     OK
      C:\Utilities\exe\gdu.exe         v5.30.1         github.com/dundee/gdu                                       OK
      C:\Utilities\exe\gh.exe          v2.68.1         github.com/cli/cli                                          OK
      C:\Utilities\exe\git-absorb.exe  0.7.0           https://github.com/tummychow/git-absorb/releases/tag/0.7.0  OK
      C:\Utilities\exe\glow.exe        v2.1.0          github.com/charmbracelet/glow                               OK
      C:\Utilities\exe\gum.exe         v0.16.0         https://github.com/charmbracelet/gum/releases/tag/v0.16.0   OK
      C:\Utilities\exe\ht.exe          v0.7.0          github.com/nojima/httpie-go                                 OK
      C:\Utilities\exe\jo.exe          1.9             github.com/jpmens/jo                                        OK
      C:\Utilities\exe\jq.exe          jq-1.7.1        github.com/stedolan/jq                                      OK
      C:\Utilities\exe\jsonfmt.exe     v0.5.1          github.com/caarlos0/jsonfmt/                                OK
      C:\Utilities\exe\just.exe        1.40.0          https://github.com/casey/just/releases/tag/1.40.0           OK
      C:\Utilities\exe\less.exe        v0.39.0         github.com/noborus/ov                                       OK
      C:\Utilities\exe\llm.exe         v2.9.1          github.com/aandrew-me/tgpt                                  OK
      C:\Utilities\exe\lsd.exe         v1.1.5          github.com/lsd-rs/lsd                                       OK
      C:\Utilities\exe\more.exe        v1.31.4         github.com/walles/moar                                      OK
      C:\Utilities\exe\nyaa.exe        v0.9.1          github.com/beastwick18/nyaa                                 OK
      C:\Utilities\exe\ptr.exe         v0.13.0         github.com/8lwxpg/ptr                                       OK
      C:\Utilities\exe\rain.exe        v2.2.0          github.com/cenkalti/rain                                    OK
      C:\Utilities\exe\rclone.exe      v1.69.1         github.com/rclone/rclone                                    OK
      C:\Utilities\exe\rg.exe          14.1.1          github.com/burntsushi/ripgrep                               OK
      C:\Utilities\exe\ruff.exe        0.11.0          https://github.com/astral-sh/ruff/releases/tag/0.11.0       OK
      C:\Utilities\exe\updo.exe        v0.1.2          github.com/owloops/updo                                     OK
      C:\Utilities\exe\upx.exe         v5.0.0          github.com/upx/upx                                          OK
      C:\Utilities\exe\verco.exe       v6.12.0         github.com/vamolessa/verco                                  OK
      C:\Utilities\exe\wget.exe        v2.1.0          github.com/rockdaboot/wget2                                 OK
      C:\Utilities\exe\xhs.exe         v0.24.0         github.com/ducaale/xh                                       OK
      C:\Utilities\exe\yazi.exe        v25.3.2         github.com/sxyazi/yazi                                      OK
      C:\Utilities\exe\yt-dlp.exe      2025.02.19      github.com/yt-dlp/yt-dlp                                    OK
      C:\Utilities\exe\zoxide.exe      v0.9.7          github.com/ajeetdsouza/zoxide                               OK
      C:\Utilities\exe\zstd.exe        v1.5.7          github.com/facebook/zstd                                    OK
      
      
      ~
      ❯ bin update
         • C:\Utilities\exe\gh.exe v2.68.1 -> v2.69.0 (https://github.com/cli/cli/releases/tag/v2.69.0)
         • C:\Utilities\exe\fetch.exe 2.38.0 -> 2.39.0 (https://github.com/fastfetch-cli/fastfetch/releases/tag/2.39.0)
      
      Do you want to continue? [Y/n] y
         • Getting 2.39.0 release for fastfetch-cli/fastfetch
         • Starting download of https://api.github.com/repos/fastfetch-cli/fastfetch/releases/assets/239099770
      5.16 MiB / 5.16 MiB [-----------------------------------------------------------------------------------------------------] 100.00% 258.35 MiB p/s 1s
         • Copying for fastfetch.exe@2.39.0 into C:\Utilities\exe\fetch.exe
         • Done updating C:\Utilities\exe\fetch.exe to 2.39.0
         • Getting v2.69.0 release for cli/cli
         • Starting download of https://api.github.com/repos/cli/cli/releases/assets/238925019
      12.76 MiB / 12.76 MiB [---------------------------------------------------------------------------------------------------] 100.00% 312.04 MiB p/s 0s
         • Copying for gh.exe@v2.69.0 into C:\Utilities\exe\gh.exe
         • Done updating C:\Utilities\exe\gh.exe to v2.69.0
      
    • JustAnotherKay@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      I was cursed with FD on my first Linux machine and now it’s one of the first things I download when I set up a new machine :(

  • deadcatbounce@reddthat.com
    link
    fedilink
    arrow-up
    3
    ·
    21 hours ago

    I have always hated ‘find’ with the non-standard options. Basic RegEx is easy to use and fd became a firm favourite from the off.