“find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
Try putting it in quotes — you’re running into the shell’s wildcard expansion, so what you’re acually passing to find will look like: …causing the syntax error. So try this instead: Note the single quotes around your file expression — these will stop the shell (bash) expanding your wildcards.