Unix Shell - Re: How do I find file "findme" in tree "bigtree" searching only s

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > August 2007 > Re: How do I find file "findme" in tree "bigtree" searching only s





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: How do I find file "findme" in tree "bigtree" searching only s
Chris Allen

2007-08-21, 7:24 pm

On Aug 21, 3:25 pm, James Michael Fultz <xy...@sent.as.invalid> wrote:
> * Chris Allen <ca.al...@gmail.com>:> How do I find file "findme" in tree "bigtree" searching only
>
> [ ... ]
>
> $ find bigtree -print
> bigtree
> bigtree/not_here
> bigtree/not_here/findme
> bigtree/in_here
> bigtree/in_here/findme
> bigtree/findme
>
> $ find bigtree -wholename '*/in_here/*' -name findme -print
> bigtree/in_here/findme
>
> --
> James Michael Fultz <xy...@sent.as.invalid>
> Remove this part when replying ^^^^^^^^


Thanks for that solution. Unfortunately I don't have access to GNU
find and our security policy prevents me from installing it. I'm
working on Solaris 8, with the standard built in tools. Is there
anyway to do this with the regular find command?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com