Quantcast
Channel: mystuff Archives - n3wjack's blog
Viewing all articles
Browse latest Browse all 12

inbox clean up tool update

$
0
0

A while ago, I wrote a command line tool to clean up any IMAP inbox, and delete the oldest emails if the inbox gets over a certain amount of mails.
This is handy and has been doing its thing for a long time, but recently I wanted to extend that, and also delete emails in a specific timeframe. Let’s say between 23h and 6h of each day.

Say hello to v2.0 of the IMAP Cleanup tool, which now has a slightly modified command line, where you can specify if you want to delete using the count, or if you want to use time as the criteria.

It looks like this if you want ot use count (without the login credentials):

.\ImapCleanup.exe count --keep 500

or to use time:

.\ImapCleanup.exe time --from 23:00 --to 6:00

It’s pretty fast in doing its job, so you can run it a number of times sequentially for more specific cleanup jobs.

You can find all the details on how to set it up and use it on the Github page.

The post inbox clean up tool update appeared first on n3wjack's blog.


Viewing all articles
Browse latest Browse all 12

Trending Articles