From 1bbe779ef095044db5c7554bea7b3a285e48f0b6 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 24 Jun 2010 16:49:42 +0000 Subject: [PATCH] add new rsync examples showing how to sync entire directories and other new syntax git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/xdcp.1.pod | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/xCAT-client/pods/man1/xdcp.1.pod b/xCAT-client/pods/man1/xdcp.1.pod index 5288b646c..563a74df4 100644 --- a/xCAT-client/pods/man1/xdcp.1.pod +++ b/xCAT-client/pods/man1/xdcp.1.pod @@ -107,19 +107,28 @@ is not specified, a default fanout value of B<64> is used. Specifies the path to the file that will be used to build the rsync command. The format of the input file is as follows, each line contains: + ... -> < path to destination file/directory> or -> +or + + -> + For example: /etc/password /etc/hosts -> /etc /tmp/file2 -> /tmp/file2 + /tmp/file2 -> /tmp/ + /tmp/filex -> /tmp/source/filey + /etc/* -> /etc/ + On Linux rsync always uses ssh remoteshell. On AIX, ssh or rsh is used depending on the site.useSSHonAIX attribute. =item B<-h>|B<--help> @@ -385,10 +394,25 @@ Create a rsync file /tmp/myrsync, with this line: /etc/hosts -> /etc/hosts +or + +/etc/hosts -> /etc/ (last / is required) + Run: B I +=item * + +To rsync the all the files in /home/mikev to the compute nodes: + +Create a rsync file /tmp/myrsync, with this line: + +/home/mikev/* -> /home/mikev/ (last / is required) + +Run: + +B I =item * @@ -400,6 +424,10 @@ Create a rsync file /tmp/myrsync, with this line: /etc/hosts /etc/passwd -> /etc +or + +/etc/hosts /etc/passwd -> /etc/ + Run: B I to update the Compute Nodes