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.
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.