From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aFd1IKeN/F/OZwAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 17:40:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yNlLHKeN/F8haQAA1q6Kng (envelope-from ) for ; Mon, 11 Jan 2021 17:40:55 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 0B13D9404C4 for ; Mon, 11 Jan 2021 17:40:53 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7464929E26; Mon, 11 Jan 2021 12:40:45 -0500 (EST) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5B90A28C1D for ; Mon, 11 Jan 2021 12:40:42 -0500 (EST) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 93D5E1B002A8; Mon, 11 Jan 2021 19:40:37 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1610386837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JxsS6tlZlY3yZ+ucdbJ9HPN8mciygpXiiBH4NGDPq3c=; b=Uwqag3yUa0viPEZlh1N/pEe54GK/6GV4G3yre0kwLHuz7nfqTpQMmbsFa7CSzOOhy/eQ7x DkD3Cr3w8AP8I9FmZa8Kmy5oc610tFNbX4dHHNrZNVgvIvAHJZ7aHy/rrYHdvKGw3ueQ3/ hY7JG28yqQBnWEP05o/+53gOv+0IqVnHAYYBlgbWS+evK0iHnTfCTf/+YOMLx+2VdoJP2k nCc9FvOBYR9nOUf0YYTL71zdWykVWKdxJalGOxVANX1LDWX3Lex//+QZFgYAed/dXr1YV8 tw8c4Hz7RdDwxAHcif7kSgpRmwpO1JlTInR/fgECbGFnAAmTUVPAPiSkAcaRZg== From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH 01/36] test/T750-gzip: don't compress the xapian database In-Reply-To: <87eeis70kb.fsf@tethera.net> References: <20210103233547.122707-1-david@tethera.net> <20210103233547.122707-2-david@tethera.net> <87eeis70kb.fsf@tethera.net> User-Agent: Notmuch/0.31.3+70~g95b022c (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1610386837; a=rsa-sha256; cv=none; b=KOYU1SpgLnGwsegXC2a2fCyFVXeIsjierRMV42vDqhZobLAZtXsKMNb7BEQfr3Br6nLD4L 5onJqpAJJaISLH1sQpulO7/KYEBfboTL0AM42Z1GUosPLicOFIts4RpDBry9eiPYP9AUMX uu0WBBKC7D7T/raxJcNf+aWJBWwt4ngte7u70XX8xrDqpgSA2TCV7JRgKVtMNGsLZhG6RM cbov41SZOg2JC7a8ZLg698kRynfvBEbgL2zsN/ZODKNu+8eAtjniJMyAuzYN8AZ4xow88U /br9pF/uv5Grk6Q+DrsnEM/Jn29TjhpSTERgo3FAl4kEk/P/1F75S+jeUZk0wA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1610386837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JxsS6tlZlY3yZ+ucdbJ9HPN8mciygpXiiBH4NGDPq3c=; b=P40TJIQ/sbr3qTs8JGf0sRnwQT1CLlsx0ozMVzHCiEekvYmYDUE6cbwp03zQIt85jFR17G VHHqK9STbLBBMw6Zt9PI3VsnmeOqzQ9QnOPrGPJ+zlR6HqXLwaLdfvnMr2kQywK72X41Pk +noCzAbqZO4xuHBjdZhxiv0SfniJx9RqyvyAg6N3YkqIB+frCBs5GPQyBVuz2JBuYxoA4U Ec1QEDiNXyEpcbjtuJs/kerovGljyvYZCYB+tc+d1KmndAdHoYyVv2PLhOnIquWeS3eCih LAIKGC3ST3cCa3W15r8YAjAR+AL2m7GcC9wvgIe5vA/Ne2wvMLOe9GFzrS9yJA== Message-ID-Hash: YITFVU3C4PPLKO46WD2M6J2JBWUJJTYN X-Message-ID-Hash: YITFVU3C4PPLKO46WD2M6J2JBWUJJTYN X-MailFrom: tomi.ollila@iki.fi 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: 0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=Uwqag3yU; arc=reject (signature check failed: fail, {[1] = sig:iki.fi:reject}); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0B13D9404C4 X-Spam-Score: 0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: XwREelMGXhUm On Sun, Jan 10 2021, David Bremner wrote: > 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? less forks and execs -- pid's don't run to very large values so soon (it depends whether there are 3 or more files to be compressed, though :) > > d