Only download emails older than x days

Mauricio Tavares <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <CAHEKYV675z_CbnUf5Yd_ntOgttg8Os9k8GVFNtwcXUQwy=7Khg@mail.gmail.com>
      I have a ton of emails in my gmail account and would like to
only download (and delete from gmail after that) only those emails
that are older than X days.

How to do that? I looked into
http://pyropus.ca/software/getmail/documentation.html#mailing-list-users-archive
and the mail archive and so far have not found an answer.

Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.