Jim Cunning wrote:

> The simplest way to compare the timestamps of two files is to use a
> shell conditional expression with the '-ot' primary. (See "man bash" for
> more information.) For example,
>
>         if [ file1 -ot file2 ]; then
>           echo "file1 is older than file2"
>         fi

Exactly what I was looking for.  The find thing got pretty ugly and the logic
gave me a headache :)

Thanks
Bret


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to