[oclug] find command

Allan McIntosh amcintosh at atreus-systems.com
Tue Jul 8 01:52:47 EDT 2003


Try find . -name '*\.moc.cpp' -print

I would say the astericks is expanding and find is interpreting the extra
files and dirs as paths.

>$ find . -name *\.moc.cpp -print
>find: paths must precede expression
>Usage: find [path...] [expression]
>
>What is wrong with what I am trying to do?
>



More information about the OCLUG mailing list