From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: michael-franzese@gmx.com
Newsgroups: gmane.emacs.help
Subject: Deleting files
Date: Mon, 22 Feb 2021 00:01:45 +0100
Message-ID: <trinity-bfa3da62-97c1-43c4-9c64-f425065056af-1613948505572@3c-app-mailcom-bs09>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="25420"; mail-complaints-to="usenet@ciao.gmane.io"
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 00:02:55 2021
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lDxkc-0006Uo-Jn
	for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 00:02:54 +0100
Original-Received: from localhost ([::1]:37714 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lDxkb-0006RA-KU
	for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 18:02:53 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38840)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael-franzese@gmx.com>)
 id 1lDxjb-0006P1-5p
 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2021 18:01:51 -0500
Original-Received: from mout.gmx.net ([212.227.17.22]:46183)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael-franzese@gmx.com>)
 id 1lDxjY-0002t0-UO
 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2021 18:01:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1613948505;
 bh=MgO4tORimCcdVxyi6mJwGAeicYHbe5dfINpdudcbG2s=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=iWhJYb2mRC5I6TcKfq69I0WNRxBWtr1wPC9hB3wHGbDAsHkhzJ0LSnkE8Ayv8UAVX
 mkd55d6GD+nAYvEATCr1J0JMzLdeTLcdLxfqtETu2q8HHhtlyODLOOZHlTq/k8VgfK
 VxJugshxZ0ZALbSGfIrtkQHXSk2gEqfWuETT/JSM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net
 (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Mon, 22 Feb
 2021 00:01:45 +0100
Importance: normal
Sensitivity: Normal
X-Priority: 3
X-Provags-ID: V03:K1:xIwbt4mKI62HxP1IGXJSYjb6kjnPQ7BcMmawxCg8nKS0YRbgy7eevI6hm4nMERv8YHKyQ
 EFcAy3Olqr3N+/VETITlqTv/146PEk6XtnG3AXf/kxi1AhCjqF1MDBjV0z3ONISc+c21QNSbd4+j
 NlybigCKfv1ydl5OS+MZuh/sfzJZ0ZeuD8YFLwSEMUOOIi2I2pxuxo8wAdqdl7pVcUvEialaiXdu
 8zQZv3RgJZdcXldv5Du4G5nn8PscIRIbR7DZaMwn2Od0DC1yYNc7MWtTHYDHSvV5xHpoAOIgM9Qx
 5o=
X-UI-Out-Filterresults: notjunk:1;V03:K0:UqNIiPPvNQQ=:nDpQ6jF8KPmY/39I5fxLKv
 obkjXExwM1XXAuJrApvmgPoqgR5Y34XuXpb75xn3A12xdUIH77/NKZCIngzqsQX1aIoiTwheD
 K8pbpyNsV/ZmoVva3jAQMeZlyEVEiWimaHqOV3pQkXiqP15QvS5KqiO/o34RhQ7fuaKu+UJUC
 BHK0a3Hgxoz505O6UVoR/UeN8yHqgOtiq5IzVFbfa+5btj+zol7OfDQaHKg7umrkIuPpghC7O
 KCr2VIjNLTeRKTszz0ryfzd2Ro/A1d8jTtUFu7tDJUW1I3QXwZNl1CA7oH6JTmbIwl0i8hfpn
 R6QoIDk4pDF5sQjCY+Lg0h2kr/axIXP+geHceweCdLKfaoVsi6ozeI845z06RUlm7bOc2ENWM
 k4d617mzBRu5JUu1D46vQHnQt0z66hn8CcYL99n3a/taK3NlMCB+SU9FGi3IXZpdsfqUyQpYS
 SqysP/CDoYSOB5t6yC/Zq+bdZyif74jWZ+BJ6pWI7A169Adl06n+6S9rHbcMVLZgGx7AXmtyu
 hUREGzpp2vcg/4c5OxNr2gkEJ4Kimm9w5c71HzHkgbkMZ839n1eShaqDy3Oke5KJx/5U+nvnu
 2dQMISS/JKJrg=
Received-SPF: pass client-ip=212.227.17.22;
 envelope-from=michael-franzese@gmx.com; helo=mout.gmx.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.help:128187
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/128187>

I have two directories with files, one is the "source", the other
"destination".  I would like to have a script that checks file
in "source".  If file name and size matches that at "destination",
the file at "source" is deleted.  Preferably using bash.