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 887A96DE00D3 for ; Fri, 20 Jan 2017 04:45:42 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, 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 mU_YnejwTEHk for ; Fri, 20 Jan 2017 04:45:41 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 423586DE0068 for ; Fri, 20 Jan 2017 04:45:40 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cUYZ1-0002my-FI; Fri, 20 Jan 2017 07:45:07 -0500 Received: (nullmailer pid 22617 invoked by uid 1000); Fri, 20 Jan 2017 12:45:35 -0000 From: David Bremner To: David Belohrad , notmuch@notmuchmail.org Subject: Re: i do not have INBOX In-Reply-To: References: Date: Fri, 20 Jan 2017 08:45:35 -0400 Message-ID: <87lgu53no0.fsf@rocinante.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Fri, 20 Jan 2017 12:45:42 -0000 David Belohrad writes: > > my directory does not contain INBOX, as inside the Maildir folder is > directly /cur, /new, /tmp. How do I search in this particular one? Quoting notmuch-search-terms(7) The exact syntax for maildir folders depends on your mail configur= a=E2=80=90 tion. For maildir++, folder:"" matches the inbox folder (which is t= he root in maildir++), other folder names always start with ".", a= nd nested folders are separated by "."s, such as folder:.classes.topo= l=E2=80=90 ogy. For "file system" maildir, the inbox is typically folder:INB= OX and nested folders are separated by slashes, such = as folder:classes/topology. > The question is related to usage of 'afew' to move all mails which > have 'deleted' tag into Trash folder (which I have under .Trash) Hopefully the above is enough to help you formulate the right query. You probably also want the options --format=3Dtext0 and --output=3Dfiles for notmuch search. d