Thanks Andy and Cam for replying but I have checked the man pages for
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)*'
-- [email protected] <--