• Zykino@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    12 hours ago

    I’m with the others: fd default syntax is easier to remember.

    And for the interactive search I’m using skim. With it I cd to the dir I want and Alt t to trigger fuzzy finding. There are also bindings to search for dir or in the history. The neat part is that results are inserted as is in the command line, no need to xargs or copy them. It also make the history look like I always know where the files I want are when in reality they are just fuzzy-found

  • stravanasu@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    Sounds fantastic, but unfortunately none of the instructions for Debian-based, or the pre-compiled binary, or the building from source worked.

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    22 hours ago

    So many linux posts seem to be new people getting frustrated at their lack of knowledge and trying to reinvent something that already exists. I’m looking at this thinking, why didn’t they just use locate and fzf?

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    1 day ago

    Also if you are looking for a replacement for find that is not a full tui then take a look at fd which works more like what the author expected from the find commad - fd <pattern>.

  • notabot@lemm.ee
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 day ago

    find can be a bit slow because it enumerates every directory recursively from the root you specified, but it let’s you do a lot more than just search by name. locate is available on most distros and give fast results, albiet from when the index was last rebuilt (usually nightly). They both have the vital property that they output a list of files to stdout for further processing.

  • emb@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Love reading about the author’s struggle with find, it really resonates. I have the same terrible experience every time I try to use it.

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 day ago

    Why can’t I remember the find parameters?

    I don’t know. Perhaps write a couple of aliases?