21 May
2004
21 May
'04
11:11
On Fri, 2004-05-21 at 02:30, Agi Subagio wrote:
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 *'
Try this: $ 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
-- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)