[Bug 143] New: Add reference to "rsync" in FAQ and documentation.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 8 06:24:21 EST 2002


           Summary: Add reference to "rsync" in FAQ and documentation.
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dwheeler at dwheeler.com

There have been a number of people who want to copy only changed
files using the OpenSSH toolkit.  Please add the following text to the FAQ
and the scp man page, so that people will know how to do it:

How can I copy just the changed files?

One way to copy only the changed files using OpenSSH is by using
another package named "rsync".  rsync can transfer just the differences
between two sets of files, and can use "ssh" to implement it.
For example, to copy the changed files from the local directory
/home/joe/stuff (and its descendants) to the user joeuser at
computer joe.com, directory /home/joeuser/stuff, do this:

 rsync -a --rsh="ssh" /home/joe/stuff joeuser at joe.com:/home/joeuser/stuff

The "-a" option tries to make everything the same on the remote system
(including symbolic links, permissions, and timestamps), and the "--rsh"
option indicates that ssh should be used as the (secure) transport.

Especially useful rsync options include -C (which skips copying certain
useless files), -z (which compresses before sending over a network),
-v (verbose status information), and --progress (show status of the
file transfer).

Note that this only works if the remote system has an ssh server, permits
the user to log in using ssh, and is at least somewhat Unix-like.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-unix-dev mailing list