From nobody Thu May 04 17:02:39 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QC0Vw21kvz49Jrt for ; Thu, 4 May 2023 17:02:48 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QC0Vv3TZFz447w for ; Thu, 4 May 2023 17:02:47 +0000 (UTC) (envelope-from ipluta@wp.pl) Authentication-Results: mx1.freebsd.org; none Received: (wp-smtpd smtp.wp.pl 3534 invoked from network); 4 May 2023 19:02:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1683219759; bh=Ld/69ft93pxNCXastsVxaojSNQNWHb/h6LUVmN5TChA=; h=Subject:To:From; b=OJrQgGEkNC0vIheFt7G7km95JXmwZRmQalcgzCv5cpBfz7ybdWIeuveXcQsk7IOmL wnxlDUcQAHPc4Hi4GneoXONaGpCh+DP2TWmsQqknc6b0+mXXB87Y5F4JvQCS9Udt7f A0hFr3qxgH1e7jGWge97em7cR9+fgY6m5C8jyCVA= Received: from 78-11-36-98.cmr.net.pl (HELO [192.168.1.129]) (ipluta@wp.pl@[78.11.36.98]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 4 May 2023 19:02:39 +0200 Message-ID: Date: Thu, 4 May 2023 19:02:39 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Tool to compare directories and delete duplicate files from one directory Content-Language: pl-PL To: Kaya Saman , freebsd-questions@freebsd.org References: <9887a438-95e7-87cc-a162-4ad7a70d744f@optiplex-networks.com> From: "Ireneusz Pluta/wp.pl" In-Reply-To: <9887a438-95e7-87cc-a162-4ad7a70d744f@optiplex-networks.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-WP-MailID: 0f032d3f86c2d96cafce66b90f27d469 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000D [MSPU] X-Rspamd-Queue-Id: 4QC0Vv3TZFz447w X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12827, ipnet:212.77.101.0/24, country:PL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N W dniu 4.05.2023 o 17:53, Kaya Saman pisze: > > Even if I create some kind of shell script and use diff, I think it will only compare names and > not file sizes. use cmp(1)