This command finds files matching files* in /path/to that were modified more than 5 days ago (-mtime +5) and executes rm (removes) them using -exec rm {} \;, noting that there should be spaces between rm, {}, and \; when using -exec.
This command finds files matching files* in /path/to that were modified more than 5 days ago (-mtime +5) and executes rm (removes) them using -exec rm {} \;, noting that there should be spaces between rm, {}, and \; when using -exec.
This command finds files matching files* in /path/to that were modified more than 5 days ago (-mtime +5) and executes rm (removes) them using -exec rm {} \;, noting that there should be spaces between rm, {}, and \; when using -exec.