Need to delete files that have a timestamp on its name

2006-10-09 Thread ozwolverine
Hello everybody, I hava a cron that generates a backup with a name like: backup_jboss-4.0.3_09102006.tar.gz, it gets generated once a week, every friday, I need that after the cron creates the new weekly backup to delete the others and I want just to leave in the system the last one, how could I

Re: Need to delete files that have a timestamp on its name

2006-10-09 Thread Bob Proulx
ozwolverine wrote: > I hava a cron that generates a backup with a name like: > backup_jboss-4.0.3_09102006.tar.gz, it gets generated once a week, every > friday, I need that after the cron creates the new weekly backup to delete > the others and I want just to leave in the system the last one, how