[Cialug] Using find
Josh More
morej at alliancetechnologies.net
Sat Jun 9 12:47:25 CDT 2007
Likely because your shell is extrapolating the asterisks, resulting in
something like "find . -regex this/ -print"
Try:
find . -regex '*this*' -print
(Note, I couldn't duplicate the problem, but then I don't know which
shell your running, and your respective versions of both the shell and
findutils. This is just a common answer to such a problem.)
-Josh More, RHCE, CISSP, NCLP, GIAC
morej at alliancetechnologies.net
515-245-7701
>>> "Todd Walton" <tdwalton at gmail.com> 06/09/07 11:45 AM >>>
Why does this command:
find . - regex *this* - print
give me this output?
find: paths must precede expression
Usage: find [- H] [- L] [- P] [path...] [expression]
- todd
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list