On Mon, 27 Jan 2003, Jakob Kofoed wrote:

> Date: Mon, 27 Jan 2003 21:30:39 +0100
> From: Jakob Kofoed <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Looking down in folder structure
>
> Hi,
>
> How can I look down in a folder structure i.e. for checking last access time
> on files.
>
One of the stat() indexes will give you last mod time. stat($fh))[8] or
stat($fh))[9], I believe.

I need to be independent of the depth of the folder structure so
> it will go down to the bottom of the structure - whether there are 2 or 10
> levels.
>

> I tried the "glob" function but it need a specific depth i.e.
> (/home/*/*.dat)
>

Good article regarding recursive directory searching:

   http://www.stonehenge.com/merlyn/UnixReview/col16.html

written by Randal Schwartz, himself.


> Hope you can help - thanks.
>
> Jakob
>

--------
Be straight and to the point. Don't waste others' time.
Do your homework before you ask for help.

--Unknown




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to