From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id 99F6D26392 for ; Thu, 16 May 2024 21:58:48 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CFC6943AB1; Fri, 17 May 2024 05:58:44 +1000 (AEST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by minnie.tuhs.org (Postfix) with ESMTPS id C640443AB0 for ; Fri, 17 May 2024 05:58:38 +1000 (AEST) Received: from macsyma.thunk.org (99-196-128-135.cust.exede.net [99.196.128.135] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 44GJvtnF022322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 15:58:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1715889483; bh=rHEWc8LPmdGS7JyrRHqnoua6qbAHR5pp4V6Xnug59vU=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=c61m0nwswlD7fBZq0f08hFNHnbHmqwgbnj8u8sHPhnZyxx/uiRkf3wzZ9GcDyKn7H Uv24czrQbR+6+Ou53ldkGF8/J/vW94RxN3ElEMnxvbBUXXZBzUTHVuyn/0s3CJ+KJY MvPbMtfswnM8guGSCZGV+Y81K5nkAteKzMSn9HL84d0icgx1sE9QwcN+kI/+RCJmqK 5RGwSgQ9PHmWw5xzNXt3N8uPdYMzWZkMCliK/jUQyNjfoD3O8ZHl+CAGpV7tGsqMnt 6cNG+Ydbtr/ih7gW9Y7W8FuYhskPkU+PrMJUNcrrjZWb5u6bBlvhd77X9KdIMx8cKL G7EyVNWgcPRYA== Received: by macsyma.thunk.org (Postfix, from userid 15806) id AA4163403E6; Thu, 16 May 2024 13:53:09 -0600 (MDT) Date: Thu, 16 May 2024 13:53:09 -0600 From: "Theodore Ts'o" To: Dave Horsfall Message-ID: <20240516195309.GB287325@mit.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-ID-Hash: FUMA5I225NZ3FODVYHCEEQJNCCMA2DDH X-Message-ID-Hash: FUMA5I225NZ3FODVYHCEEQJNCCMA2DDH X-MailFrom: tytso@mit.edu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Be there a "remote diff" utility? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, May 16, 2024 at 04:34:54PM +1000, Dave Horsfall wrote: > Every so often I want to compare files on remote machines, but all I can > do is to fetch them first (usually into /tmp); I'd like to do something > like: > > rdiff host1:file1 host2:file2 > > Breathes there such a beast? I see that Penguin/OS has already taken > "rdiff" which doesn't seem to do what I want. rdiff is something which someone on the internet had created, as part of the librsync package[1]. Thia isn't considered part of the core package (for example, Debian consideres it as an "optional" package) but rather something which various distributions have packaged for the convenience for their users. [1] https://librsync.github.io/ So if this is considered part of Penguin/OS, would we also consider "nethack" or X11 part of BSD 4.3, since it was available and often would be commonly installed on BSD 4.3 systems? Or are all packages which are in FreeBSD's ports "part of FreeBSD"? Or all packages in MacPorts part of MacOS? In any case, the way I'd suggest that you do this that works as an extention to the Unix philosohy of "Everything looks like a file" is to use FUSE: sshfs host1:/ ~/mnt/host1 sshfs host2:/ ~/mnt/host2 diff ~/mnt/host1/file1 ~/mnt/host2/file2 Cheers, - Ted