bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need to delete files that have a timestamp on its name


From: ozwolverine
Subject: Need to delete files that have a timestamp on its name
Date: Mon, 9 Oct 2006 07:02:52 -0700 (PDT)

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
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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]