Moving/Deleting files older than n days

I had this requirement for moving/deleting the old bin log files of mysql from my server since they were hogging too much of the server space. I wrote this small script (might need polishing) to do the work.

Check it out and send me your feedback.

Leave a Reply

Your email address will not be published. Required fields are marked *