[SLE] find and delete older file
From: Agi Subagio (agi.subagio_at_saranaasiaraya.com)
Date: 05/21/04
- Previous message: g.lams_at_itcilo.org: "Re: [SLE] SuSE 9.0 xntp bug - SOLVED"
- Next in thread: James Knott: "Re: [SLE] find and delete older file"
- Reply: James Knott: "Re: [SLE] find and delete older file"
- Reply: Robert Paulsen: "Re: [SLE] find and delete older file"
- Reply: Kenneth Schneider: "Re: [SLE] find and delete older file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <suse-linux-e@suse.com> Date: Fri, 21 May 2004 13:30:16 +0700
I have a script that create a backup file in regular schedule (run everyday
at 2 AM).
But after several weeks, my harddisk is getting full.
I want to delete older backup file that not modified/create after 30 days
ago.
I have used command;
$ find ./test -mtime +30 -exec 'rm -f *'
But it seems, the rm command is not work.
How to do that?
--- This email is protected by Clam AntiVirus and SpamAssassin -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: g.lams_at_itcilo.org: "Re: [SLE] SuSE 9.0 xntp bug - SOLVED"
- Next in thread: James Knott: "Re: [SLE] find and delete older file"
- Reply: James Knott: "Re: [SLE] find and delete older file"
- Reply: Robert Paulsen: "Re: [SLE] find and delete older file"
- Reply: Kenneth Schneider: "Re: [SLE] find and delete older file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|