summaryrefslogtreecommitdiff
path: root/docs/netdiff.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/netdiff.txt')
-rw-r--r--docs/netdiff.txt37
1 files changed, 31 insertions, 6 deletions
diff --git a/docs/netdiff.txt b/docs/netdiff.txt
index 367a201..9f659a6 100644
--- a/docs/netdiff.txt
+++ b/docs/netdiff.txt
@@ -1,12 +1,16 @@
NAME
- netdiff - A netdiff project
+ netdiff - A simple script to diff a file or a directory of two hosts
+ over the network.
-WTF?
- A simple script to diff two files via the network.
+ This is very helpfull if you want to find out any difference of these
+ two hosts.
- usage
- ClusterSSH onto two hosts at the same time and run on both hosts the
- same command like:
+ SYNOPSYS
+ netdiff HOSTNAME PATH [ADDITIONAL DIFF OPTS]
+
+ USAGE
+ Cluster-SSH into two hosts at the same time and run on both hosts the
+ same (simultaneous):
netdiff HOSTNAME PATH
@@ -14,6 +18,27 @@ WTF?
Depending on this the script will decide to be 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.
+
+ 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:
+
+ 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.