Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ehaupt/cleanup-maildir
Script for cleaning up and archiving mails in Maildir folders based on arival date
https://github.com/ehaupt/cleanup-maildir
Last synced: 3 months ago
JSON representation
Script for cleaning up and archiving mails in Maildir folders based on arival date
- Host: GitHub
- URL: https://github.com/ehaupt/cleanup-maildir
- Owner: ehaupt
- License: mit
- Created: 2017-07-05T07:55:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-12T21:48:45.000Z (12 months ago)
- Last Synced: 2024-04-09T02:44:25.755Z (7 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 10
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-tui-software - ehaupt/cleanup-maildir - Script for cleaning up and archiving mails in Maildir folders based on arival date (<a name="stream-record"></a>stream-record)
README
# cleanup-maildir
Script for cleaning up and archiving mails in Maildir folders based on arrival date.
This script was originally found [here](https://gist.github.com/pkern/3730543).The version of cleanup-maildir.py in this repo is ported to Python 3.8 by
[@mhyllander](https://github.com/mhyllander/cleanup-maildir) and uses standard
modules to interface with Maildir folders:
* mailbox
* datetimeIn addition, you need to install the pygraph module. The
version that is installed by pip3 from PyPI is currently not compatible
with Python 3. Instead you should install the Python 3-compatible version
directly from the git repo:```bash
pip3 install git+https://github.com/jciskey/pygraph
```The command options and arguments remain the same, except that the
deprecated "--mode" option has been removed. Aside from this it is a
drop-in replacement for the Python 2.7 version.