From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5E2816DE0AE5 for ; Sun, 18 Dec 2016 18:04:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.013 X-Spam-Level: X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5 tests=[AWL=0.097, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mk6fNpYfocwO for ; Sun, 18 Dec 2016 18:04:17 -0800 (PST) X-Greylist: delayed 323 seconds by postgrey-1.35 at arlo; Sun, 18 Dec 2016 18:04:17 PST Received: from istari.evenmere.org (istari.evenmere.org [136.248.125.194]) by arlo.cworth.org (Postfix) with ESMTP id A7DEF6DE0ABE for ; Sun, 18 Dec 2016 18:04:17 -0800 (PST) Received: by istari.evenmere.org (Postfix, from userid 113) id CE1281E00B3; Sun, 18 Dec 2016 20:58:52 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1482112732; bh=5vFeBSJq++3udhQTSGYrOf5yLjdawtWJq+43qGRAerM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=H7MtIv8JC0y2HZWIJZ0b6FJdi9CpMUfHmhTmIG0MX6FRw2bDqDhrTb5zWIAM0FISG UHIBRJpoKDPdbVR40377PO4nq8gonNVgAzUm4SiZ1tKJ7t1dCvXkf3LvZ7WR/WZ08V jtAICzl2duO4/huz8GERJcZuMkPwpNbGcxtpmOY0= Received: from [192.168.0.14] (pool-108-7-216-99.bstnma.fios.verizon.net [108.7.216.99]) by istari.evenmere.org (Postfix) with ESMTPSA id 294421E00B1; Sun, 18 Dec 2016 20:58:51 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1482112731; bh=5vFeBSJq++3udhQTSGYrOf5yLjdawtWJq+43qGRAerM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=MQ+oSzk57zVFKt0LGZcfr2euO3mTa44HPZPDD3RGvxYoFRIh4kFeqMAgAunv+aSQQ Q3QCuzL+dhuYoaiJgIYjPrnb6AKcTI7vys9pmztdyU6fPVA8pxzhvHu+Z0eVCLn/Iz 8YpwZeDd+vyOtY4U7XDfTQBb0WKW1RVZlGdLju2Q= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: wildcards with path or folder From: Brian Sniffen X-Mailer: iPhone Mail (14C92) In-Reply-To: <87bmw83jwl.fsf@stebalien.com> Date: Sun, 18 Dec 2016 20:58:50 -0500 Cc: Erik Colson , notmuch@notmuchmail.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <87mvfsc0ax.fsf@ecocode.net> <87bmw83jwl.fsf@stebalien.com> To: Steven Allen X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 19 Dec 2016 02:04:19 -0000 One reason many people look for such is as part of a pipeline with --output=3D= files and unlink. It is crucial to know that notmuch will tell you about eve= ry file name of every message that has any copy in those folders. You have t= o grep or otherwise restrict the list of paths to the folder you want, or lo= se data.=20 -Brian I know I can restore my Maildir from backups. Guess how? --=20 Brian Sniffen > On Dec 18, 2016, at 6:19 PM, Steven Allen wrote: >=20 >=20 > Erik, >=20 > Erik Colson writes: >> hi, >>=20 >> How can I select all mails which are in a certain mail folder or >> subfolders of it ? >=20 > You're probably looking for `path:path/to/folder/**` (e.g. `path:Archive/*= *`). >=20 > Documentation: >=20 > * man 7 notmuch-search-terms > * https://notmuchmail.org/manpages/notmuch-search-terms-7/ >=20 > - Steven > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch