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

Need to delete files that have a timestamp on its name

2006-10-09 Thread ozwolverine
do that? How do the regular expression to delete the old backups should look like? thanks a lot. -- View this message in context: http://www.nabble.com/Need-to-delete-files-that-have-a-timestamp-on-its-name-tf2410205.html#a6718123 Sent from the Gnu - Bash mailing list archive at Nabble.com