Hi all,
I have a log pruning script to delete log files older than 15 days in a particular directory . But the directory has files older than 7 days and not 15 days . Am wondering whether other scripts are impacting , but verified that they are not ,.
Is there a way to locate, why that happens ? removing files older than 7 days instead of 15 days ?
Code:
find /mydirectory -mtime +15 -print -exec rm {} \;