Skip to content

Instantly share code, notes, and snippets.

View joaopizani's full-sized avatar

João Pizani joaopizani

View GitHub Profile
@joaopizani
joaopizani / pydelatt.py
Last active December 23, 2015 03:19 — forked from simeonf/pydelatt.py
#!/usr/bin/python
"""
Copyright (c) 2009 Simeon Franklin
MIT Licensed: see http://www.opensource.org/licenses/mit-license.php
pydelatt.py - Strips attachments from maildir format mail
files. Sample usage:
$ find ./Maildir -mtime +120 -size +3M | xargs -ix pydelatt.py -v 'x'