• Hjalmar@feddit.nu
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    What’s up with find? I’ve got so used to fd that I don’t understand what this is referring to

    • Björn Tantau@swg-empire.deOP
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      When you want to find something in a different path than your current one you have to supply it as the first argument. When you try to do find -name foo.bar /path it will complain that the path should be the first argument. So it knows what you’re trying to do and instead of doing it it just complaints.