Save time (and money) on data transfers between hosts withrsync, a synchronization tool that allows easy, efficient replication offiles between different locations. Sync up, now!
It's possible to obtain a list of all the modules available on the rsync server by omitting the module name from the command line when connecting to the server. Here's an example, and the output:
[me@xanadu] $ rsync olympus::
home My Home Area
Now, if I were to add a few more modules to the configuration file,
and attempt to reconnect to it from "xanadu", I'd have access to the new modules as well.
[me@xanadu] $ rsync olympus::
home My Home Areatemp Temp Area
You can exclude modules from being listed in this manner by specifying a
list = no
option within the module configuration.
It's also possible to tell rsync to exclude certain files from the synchronization process, with the "--exclude" command-line option. Here's an example, which copies all the files *except* those with a ".tmp" extension from "xanadu" to "olympus":
As you can see, when I attempt to copy the "/home/me/public_html" directory to "xanadu", every symbolic link within that directory is skipped. You can have rsync retain these links as is during the copy process by specifying the "--links" option on the command line,