in reply to Re: Searching a directory tree
in thread Searching a directory tree
Unless I'm missing something obvious I think that is what I am doing already.
My find command isfind/home/www/*/logs/weekly i.e find all subdirectories, including new ones created since the job was last run, below /home/www that contain a logs sub-directory containing the file "weekly". This is what I want to do. The job will be run weekly using cron. Find2perl writes the code to find the files correctly but also creates a blanksub wanted{} sub-routine each time the cronned script is run.I then want to pass the gzip and mail commands to the "wanted" sub-routine.
Any ideas?
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Searching a directory tree
by davorg (Chancellor) on Aug 10, 2001 at 15:34 UTC | |
by wylie (Novice) on Aug 10, 2001 at 15:59 UTC |