Hi All,
Can you please let me know how to delete files in ksh that are older than 5 days
find <dir> -type f -mtime +5 -exec rm -f {} \;
I executed the above today it deletes the files created on 28th and not the files created on 30th.
Thanks in advance for your responses.
Regards,
P_db_user