That tmpwatch that Robert suggested worked great.. I'll stick with that.
----- Original Message -----
From: "Randy Weidman" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 8:19 PM
Subject: Re: Shell Script


> I think this will do what you need
>
>
> find /home/$user/palaceserver/palace/psdata/backup  -mtime +7 -exec rm {}
> \; 2>&1 > /dev/null
>
> Randy
>
>
> On Thu, 25 Jul 2002, Jesse Angell wrote:
>
> > I need to make a shell script to look in
> > /home/$user/palaceserver/palace/psdata/backup
> > and in that folder delete all the files that are 7 day's old..
> > Could someone help me out with this?
> >
> >
> > --------------
> > Jesse Angell
> > PalaceUnlimited.com
> > #1 Palace Host
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> Randy Weidman
> Linux Systems Administrator
> University of Missouri
> Dept. Of Chemical Engineering
>
> I am pleased to see that we have differences.  May we together become
> greater than the sum of both of us.
> -- Surak of Vulcan, "The Savage Curtain", stardate 5906.4
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to