I have found the command to delete files older than 5 days in a folderfind /path/to/files* -mtime +5 -exec rm {} \;But how do I also do this for subdirectories in that folder?

Source: find – Delete files older than X days + – Unix & Linux Stack Exchange