From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +EOYIfv8i2ILWgAAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 23:30:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sJ52Ifv8i2JvrgAA9RJhRA (envelope-from ) for ; Mon, 23 May 2022 23:30:35 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 73C561C87B for ; Mon, 23 May 2022 23:30:34 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 590B25F6C2; Mon, 23 May 2022 21:25:05 +0000 (UTC) X-Greylist: delayed 342 seconds by postgrey-1.36 at yantan; Mon, 23 May 2022 21:25:02 UTC Received: from anarres.sindominio.net (anarres.sindominio.net [88.99.208.38]) by mail.notmuchmail.org (Postfix) with ESMTPS id C9E5B5F5F0 for ; Mon, 23 May 2022 21:25:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTP id A5EA6360C07 for ; Mon, 23 May 2022 23:19:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net A5EA6360C07 Received: from anarres.sindominio.net ([127.0.0.1]) by localhost (lesnaus.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mX8rxAv6HEIE for ; Mon, 23 May 2022 23:19:17 +0200 (CEST) Received: by lesnaus.sindominio.net (Postfix, from userid 108) id 8C48D360B50; Mon, 23 May 2022 23:19:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 8C48D360B50 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTPSA id 4521C360B50; Mon, 23 May 2022 23:19:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 4521C360B50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net; s=mail; t=1653340753; bh=CpRDH12Hr7TlOWhCRve7MrQQh49pVOTembY2lOyoC6A=; h=Date:In-Reply-To:Cc:From:To:Subject:References:From; b=JQpCBfwVoiACJtw54zX4msAf6QgMpakMhwz0agUI4dfPdTOXswtPZU2Fd2PggTc2z kNKHdqPsR+CSTZd+stif9z5h7vMh2yFcFscMPFGPmGnD54SG+7LXBGBJBgmJrvdkWG mmaI+vfmLUnb9B/I9UJKWUGPW0H4zX+aM3278+EkYGvXXeWqf2r9CLZt1iZfHtKu37 n0sPSJsapODfC2vtimv+7NANUL8R/ufojfAjGuVV4g25lBXXbG3qqkqQt2c/Roc2n+ TH22Sy+8cE3wPwPHoML+DanV6O+uSbLQ4sEuyNEOyIhHF8hc1vcOL1avpHheOs+5et y64/Ry7xyTUqHlJDBoUlYC50SDms4diLefaJIH5ZsgMdKO3hX9E4AWPGswwYubu+I2 nGmcptpzYqYd4RLVACl5B5mwXtDGzekP8qBSiUWKPnfYeIuh7TWf+hZ6/Gb6ja4pNH nsCY4bv+nPn6Qkh7xcdML29QXzoICVF4znN2JilckdCqlF4OGVGNV102HNRdyN1xIW SUDWSNTVcolXo8NfK7dbk1KZLyFfQ15hHne05TQ3fhWrZBT7653yxr5GfIrF8expUV qm7TBYOsr0zzHPTGW8ayNucklKwafQGQohLh+3T4QUyn2ySUFTqMjGG44SLWNG0a/T /Im7rY4iCqWhtHvyD6tqquZ4= Mime-Version: 1.0 Date: Mon, 23 May 2022 23:19:11 +0200 Message-Id: In-Reply-To: <87ilpwc68x.fsf@beavernet.be> From: "inwit" To: "erik colson" , Subject: Re: moving mail to another maildir based on tags and renaming files References: <87ilpwc68x.fsf@beavernet.be> Message-ID-Hash: MSN5B3G7XDYW76BS7EP6GFT5EEOM4ZVG X-Message-ID-Hash: MSN5B3G7XDYW76BS7EP6GFT5EEOM4ZVG X-MailFrom: inwit@sindominio.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653341435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hPPXQD5ri/J3niAJTFlSMamSzrCr8dx0wHEJneSrMvg=; b=NfTddTSBs4BdMEyjWxK4e+bj8BwZVQMGuKsxMFjrTxidkO5ZHAM9df4vWMesLzC5198sOS m5YWwO3eEjuuqHwPhbh1Uf+elJf41GAOSsyeouSCPANt6rA8Jkoufohkat7VgN6Il86XqU UmDolNU6f7I+P+0i2Nhwsh+Xvcs+8oqQeSB7F9fK7ipeSZppIaSRRCjicHziUY4mZ6/P59 oLfpvCYRMcpKwDW8uCyKQjr42i7ei+hfEn4EuDdt3nioLsirPiO/J+WLqs4psLuU2YYTYY 12W/psFWKax+ZE7ofTub5KqtiScF5CKykvg30P9nuCFdMh2YI5XY3fX54X2Y5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653341435; a=rsa-sha256; cv=none; b=bcf1vshQBVn3DtcZBwFYM/yOMWZtcg20U260dPXHjINe5RnQkHfLgv9gl96jMSIkRD3WQ9 mdtGlszQjyi9eYTfqTvCSmwHGQsP0JlGuPjvqxc0udXmew2hMufxHCpz6bQOTGBa8uYbPa Edr7iBPWa1qy4YVitFBj7Gj+5gqTybXhRUuS3K6neTKFQ1VLHa0sDM5sWmNUO8jgeT9Gzp a2IxK5hZ29ITh/BkMIkgZ5GCkOXiUUuszlRU4eEXbqO9G3n27LeMonLr2SH/R5VGa2Gmnv J+2H0lIrn1Jwu117hkKtpuA18CsTHtPHQ2HeWv0LMVHFAdlS3iMC0o6FFDxpjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=JQpCBfwV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 7.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=JQpCBfwV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 73C561C87B X-Spam-Score: 7.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: qn0egri0tVl+ On Mon May 23, 2022 at 11:02 PM CEST, erik colson wrote: > So I wanted to check if somebody else already wrote some > bash/perl/whatever script which handles this ? I did. I replicate folder and tags with this dirty script: https://paste.sr.ht/~inwit/018642e5c1cae1e57ae449006b6ed5087ae964d0 You need to be careful with renaming files after moving. If you have questions, do ask!