From 100090abe1c3684617cc1ea0de41c55de77c3452 Mon Sep 17 00:00:00 2001 From: David Belohrad Date: Mon, 25 Jun 2012 13:44:26 +0200 Subject: [PATCH] extract attachments from multiple mails --- 60/fd4f5502fd2d8f640b39c580eca8c59532198c | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 60/fd4f5502fd2d8f640b39c580eca8c59532198c diff --git a/60/fd4f5502fd2d8f640b39c580eca8c59532198c b/60/fd4f5502fd2d8f640b39c580eca8c59532198c new file mode 100644 index 000000000..d777e7fd0 --- /dev/null +++ b/60/fd4f5502fd2d8f640b39c580eca8c59532198c @@ -0,0 +1,61 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 88D3E431FBC + for ; Mon, 25 Jun 2012 04:44:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ccq0csu9OcO3 for ; + Mon, 25 Jun 2012 04:44:29 -0700 (PDT) +Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch + [212.101.19.163]) + by olra.theworths.org (Postfix) with ESMTP id 9635D431FB6 + for ; Mon, 25 Jun 2012 04:44:29 -0700 (PDT) +Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch + [137.138.197.99]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by server.belohrad.ch (Postfix) with ESMTPSA id E51E026045; + Mon, 25 Jun 2012 13:52:43 +0200 (CEST) +From: David Belohrad +To: +Subject: extract attachments from multiple mails +User-Agent: Notmuch/0.13.2+47~ga7bc1c7 (http://notmuchmail.org) Emacs/23.2.1 + (x86_64-pc-linux-gnu) +Date: Mon, 25 Jun 2012 13:44:26 +0200 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 25 Jun 2012 11:44:30 -0000 + + +Dear All, + +someone can give an advice? I have many emails containing +attachment. This is typically an output of copy-machine, which fragments +a scan into multiple attachments. + +I'd like to extract those attached files in a one batch into a specific +directory. Is there any way how to programmatically fetch those files? + +thanks +..d.. -- 2.26.2