An humble script to diff stuff of two hosts via the network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Paul Buetow 4c16e8737d use txt rather than pod 4 weeks ago
bin initial version of the template 9 years ago
debian Change github name 7 years ago
docs New release 8 years ago
src New release 8 years ago
.version New release 8 years ago
Makefile update documentation 8 years ago
README.txt use txt rather than pod 4 weeks ago

README.txt

NAME
netdiff - A simple script to diff a file or a directory of two hosts
over the network.

This is very helpful if you want to find out any difference of these two
hosts.

SYNOPSYS
netdiff HOSTNAME PATH [PORT] [ADDITIONAL DIFF OPTS]

USAGE
Cluster-SSH into two hosts at the same time and run on both hosts the
same (simultaneous) command:

netdiff HOSTNAME PATH

Where HOSTNAME can be the hostname of the first or the second host.
Depending on this the script will decide to be in the client or the
server role.

And where PATH musst be a full qualified path to a file or a directory.

Netdiff transfers everything in PATH (recursively and encrypted via
OpenSSL/AES) to the other host and computes a diff of it. The latter
with the diff tool.

If no port is specified the default port will be used which is defined
in

/etc/default/netdiff

EXAMPLE
A common use case is to find out the differences of the PAM
configuration. On most systems the PAM configuration is spread into
several small configuration files which are hard to compare by hand
between two hosts.

Given two hosts one.example.com and two.example.com. Just run this
command on both hosts simultaneously:

netdiff one.example.com /etc/pam.d

The same affect, but the other way around, would be the following
command:

netdiff two.example.com /etc/pam.d

LICENSE
See package description or project website.

AUTHOR
Paul Buetow - <http://netdiff.buetow.org>