Re: find files in subdirectories

From: Bob Booth - UIUC (booth@UIUC.EDU)
Date: Wed Nov 13 2002 - 11:20:45 EST


find is doing what you asked it... Shooting off the hip:

find . -name PROD -print -exec find {} -print \;

Might do what you want.

bob

On Wed, Nov 13, 2002 at 10:01:04AM -0600, Mark Lamport wrote:
> I want to create a file which contains the full path names for all files
> within certain subdirectories. Like /u02/ora/PROD/system.dbf
> /u03/ora/PROD/temp.dbf.
> If I ; ' find . -name PROD -print > PRODdata ' I only get /u02/ora/PROD
> /u03/ora/PROD when I want /u02/ora/PROD/system.dbf /u03/ora/PROD/temp.dbf
>
> How can I get it like I want?
>
> thanks in advance.
>
> Mark Lamport



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:20 EDT