• @Evotech@lemmy.world
    link
    fedilink
    13
    edit-2
    1 month ago

    Find can find stuff based on permissions or other variables and interact with files, like delete etc

    Locate is just a database of filenames

      • fmstratA
        link
        31 month ago

        You rarely need find with grep if you man grep. Grep does it all.

        • @jaybone@lemmy.world
          link
          fedilink
          01 month ago

          Grep is going to find all .java files in /home/user/workspace? And then conditionally search them? Not so sure about that.

          • fmstratA
            link
            91 month ago

            grep -R --include=\*.java "pattern" /home/user/workspace