Bhupinder <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I have to write a shell script for Sun solaris 8 to delete files in one 
> particular directory older than 60 mins. On linux I can use the following
> find . -type f -mmin +60 -exec rm \{} \;
>
> But this is not working on Solaris, please help me to find a similar command 
> for Sun. I am using the K shell.

Use 

sfind . -type f -mtime +60m -exec rm \{} +

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to