Re: find

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

 



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


-- [email protected] <--



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux