LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] remote diff

[ILUG] remote diff

McDaid, Aaron Aaron.McDaid at compaq.com
Thu Jun 29 09:06:24 IST 2000


> Has anyone seen a remote diff command?
> I'd like to be able to run diff on a local file against a file on a
> remote host.
> I thought I'd ask before I write a shell script to do it: 
> copy the local file to a temp name, 
> rsync the remote file down to the temp file and then diff 
> temp original
> files..
> Using small files so copying won't be a problem..

use md5 locally and remotely. Very quick regardless of
filesize. In case you don't know, it gives a 128-bit
"signature" of a file and hell will freeze over before
you find a pair of different files with the same
md5 output

It's a prog called md5sum (in gnu textutils) so you
should have it already)

Handy, whether you're diffing manually or part of
a script/cronjob

http://www.gl.umbc.edu/env/gamma/i386_linux22/md5sum/

> Donncha




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell