[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: find -name when name contains a slash
From: |
Avis, Ed |
Subject: |
RE: find -name when name contains a slash |
Date: |
Wed, 11 May 2005 10:51:39 +0100 |
James Youngman wrote:
>$ ./find . -name quux/umsp
>./find: warning: Unix filenames usually don't contain slashes
>(though pathnames do). That means that '-name quux/umsp' will
>probably evaluate to false all the time on this system. You
>might find the '-wholename' test more useful, or perhaps
>'-samefile'. Alternatively, if you are using GNU grep, you
>could use 'find ... -print0 | grep -FzZ quux/umsp'.
What implementation of find has this -wholename predicate?
--
Ed Avis <address@hidden>