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.
What’s up with find? I’ve got so used to
fd
that I don’t understand what this is referring toWhen 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.