find

Cam camilo at mesias.co.uk
Mon Jun 7 11:42:27 UTC 2004


Chadley

> Thanks Andy and Cam for replying but I have checked the man pages for

[snip]

> but I still get invalid predicate.

No you *need* the -name then it will work. Without -name it treats your 
argument as a predicate - and it is not a valid predicate. Example:

touch '(test)a'
touch '(test)b'
touch '(test)c'
touch '(test)d'
find . -name '(test)[a-z]'
find . -name '(test)*'

HTH

-Cam


-- 
camilo at mesias.co.uk                                                 <--





More information about the fedora-list mailing list