Quote:
Originally Posted by l0pht
how can i automated it remove 3 or 4 latest one?
|
I'm a bit cofused by the question, but i assume:
How can you remove backups which are older than 3 or 4 days?
Quote:
find ${DEST}/mysql-* -mtime +3 -exec echo {} \;
|
If above statements returns a list of the files you want to delete, than change 'echo' to 'rm'.....