Hello I have this bash script for checking the integrity of backups.
I need to edit it as I have to make warn me when the oldest backup is more than 60 days (as we delete those).
Now the date is extracted from another file
OLDEST_DATE=`cat /tmp/B_BACKUP_TMP.out | head -1 | cut -f5,6,8 -d" "`
in the following format :
Oct 29 2018
However, this format can't get picked up when I try to use it with -mtime +60
Any ideas how I can convert it ?