I have difficulties with the "find" command. Maybe I'm just not understanding really how to use it.
Let's say I am searching for all files with the extension "xsc":
Code:
[prompt]$ find ~ -name *.xsc
/home/mechagojira/project/foobar.xsc
Okay works. Now I want to search for all files ending with "xsc" and maybe followed by something else, this gives me this error message:
Code:
[prompt]$ find ~ -name *.xsc*
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]
Why does this not work?
I'm using
GNU find version 4.2.27
on
CentOS release 5 (Final)