I've created a cron job that automatically backs up all my mysql DBs late at night.
Obviously, I don't want too many files in there at once.
Can someone outline a script that will check the number of files in the dir, and when it reaches a certain number, delete the last one.
Many thanks in advance,
Ed Ludlow