rdiff [ options ] [[user@]host:]file1 [[user@]host:]file2
rdiff [ options ] [user@]host:file1
rdiff [ options ] [[user@]host:]file1 [user@]host:
rdiff [ options ] [user@]host: [[user@]host:]file2
options ::= [ -l localuser ] [ diff_options ]
When not specifying a second remote file, it is compared with the related local file or vice versa.
Example:
[ /opt/edrc/bin ] [ root@acme-008 ][*edrc*/bash]: rdiff acme-007:/etc/hosts
or
[ /opt/edrc/bin ] [ root@acme-008 ][*edrc*/bash]: rdiff acme-007: /etc/hosts
will compare the files /etc/hosts from the system acme-007 with the local /etc/hosts file on the acme-008 system.
The example above is therefore equal to:
[ /opt/edrc/bin ] [ root@acme-008 ][*edrc*/bash]: rdiff acme-007:/etc/hosts /etc/hosts
If the given file(s) are gziped (.gz) or bzip2ed (.bz2, .bz), the related uncompressed content is compared.
When only specifying the first file, it is compared with the related local file.
See diff(1) for a description of the available diff options.
This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.