[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: find



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 mesias co uk <--



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]