Delete files older than x many days Ubuntu Terminal

To delete files older than 'x' many days, you can execute the following command in the terminal:

find /path/to/ -type f -mtime +7 -name '*.zip' -execdir rm -- '{}' \;

The type -f indicates that you would only like to delete files. Change the -mtime value to delete files after this number of days. E.g change to 60 to delete files older than 60 days. The *.zip indicates that you would only like to delete zip files