From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 5a873b89 for ; Mon, 8 Apr 2019 16:30:10 +0000 (UTC) Received: (qmail 16266 invoked by alias); 8 Apr 2019 16:29:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23912 Received: (qmail 5798 invoked by uid 1010); 8 Apr 2019 16:29:57 -0000 X-Qmail-Scanner-Diagnostics: from mta03.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.1/25412. spamassassin: 3.4.2. Clear:RC:0(24.224.136.9):SA:0(-2.6/5.0):. Processed in 2.912311 secs); 08 Apr 2019 16:29:57 -0000 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.9 as permitted sender) X-Authority-Analysis: v=2.3 cv=bKRo382Z c=1 sm=1 tr=0 a=cnjiLCurb0vjRq4CKMedvw==:117 a=cnjiLCurb0vjRq4CKMedvw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=uUVCSHNwhC01YAY--0sA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefgddutdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecukfhppedvgedrvddtjedrudeirddujeegnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudeirddujeegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.16.174 Subject: Re: find duplicate files To: zsh-users@zsh.org References: <86v9zrbsic.fsf@zoho.eu> <20190406130242.GA29292@trot> <86tvfb9ore.fsf@zoho.eu> <86mul2apj8.fsf@zoho.eu> <20190408143748.GA21630@trot> <391277a7-d604-4c20-a666-a2886b1d2939@eastlink.ca> <83516-1554738473.876017@eIZM.Ak9L.ZvKr> From: Ray Andrews Message-id: <765759fc-cd56-e13b-c346-47041bb63a86@eastlink.ca> Date: Mon, 8 Apr 2019 09:29:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-version: 1.0 In-reply-to: <83516-1554738473.876017@eIZM.Ak9L.ZvKr> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-CA On 2019-04-08 8:47 a.m., Oliver Kiddle wrote: Thanks all. > There are multiple. I tend to use duff (DUplicate File Finder) for the > purpose. There's also samefile. And I've come across one or two others > over the years. > > Oliver So then why do we need a new zsh based solution?  Not that I'm complaining, maybe 'zdupe' would be good to have, but my light reading of the thing seems to be that this is essentially a plain vanilla search and existing solutions would be fine.  Mind, I suppose there are so many things that might or might not be considered that maybe custom solutions are needed  and of course for that custom code would be wanted.  I particularly note what Peter said about files that are logically different but coincidentally the same.