$ 0 0 You can rename file with time stamp appended to it mv TheFile.log TheFile.log.`date +"%d-%m-%Y"`