Linux CLI: Find files old than x minutes or days

Have you ever wanted to deal with files that are older x minutes or days?

Here we go:

#/bin/bash

# for every file that is in /home/marco/Downloads and is older than 5 minutes
for f in $(find /home/marco/Downloads -type f -mmin +5); do
        echo "do something with $f file."
done;


# for every file that is in /home/marco/Downloads and is older than 12 days
for f in $(find /home/marco/Downloads -type f -mtime +12); do
        echo "do something with $f file."
done;