How to remove old files with specific extension. delete old files find <location> -name "<filename>*" -type f -mtime +<days> -delete <days> => if we mention 3 then it will keep only 3 days from current date and removes older files.
One blog for all ORACLE DBA scripts & AWS Cloud commands, OCI commands etc