From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gBUgInGi+1/+MQAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 00:57:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ELDHHXGi+1/KFAAAbx9fmQ (envelope-from ) for ; Mon, 11 Jan 2021 00:57:21 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B681D940355 for ; Mon, 11 Jan 2021 00:57:20 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 986EE29D2C; Sun, 10 Jan 2021 19:57:14 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 185571FBCC for ; Sun, 10 Jan 2021 19:57:12 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id AF7B35FF47; Sun, 10 Jan 2021 19:57:09 -0500 (EST) Received: (nullmailer pid 3823338 invoked by uid 1000); Mon, 11 Jan 2021 00:57:08 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 01/36] test/T750-gzip: don't compress the xapian database In-Reply-To: References: <20210103233547.122707-1-david@tethera.net> <20210103233547.122707-2-david@tethera.net> Date: Sun, 10 Jan 2021 20:57:08 -0400 Message-ID: <87eeis70kb.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: OWB73KFFGDZTN52ZIPVQA63GLBGAD2QH X-Message-ID-Hash: OWB73KFFGDZTN52ZIPVQA63GLBGAD2QH X-MailFrom: david@tethera.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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: B681D940355 X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: QOWndRDJVvju Tomi Ollila writes: > On Sun, Jan 03 2021, David Bremner wrote: > >> +find ${MAIL_DIR} -name .notmuch -prune -false -o -type f -exec gzip --recursive {} \; > > (some extra spaces above) > > The point of -false is that if there exists .notmuch which is file, then > include it ? (w/o -false the -o part is not included as -prune is true). > I think the -false is just a mistake. For some reason I thought it was needed to avoid descending into .notmuch > I'd suggest > > find ${MAIL_DIR} -name .notmuch -prune -false -o -type f -print0 | xargs -0 gzip -- > what is the advantage of xargs here, less execs? d