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
This commit is contained in:
		| @@ -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 source file1> <path to source file2> ... ->  < path to destination file/directory> | ||||
|  | ||||
| or | ||||
|  | ||||
|  <path to source file> -> <path to destination file> | ||||
|  | ||||
| or | ||||
|  | ||||
|  <path to source file> -> <path to destination directory ( must end in /)> | ||||
|  | ||||
| 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<xdcp> I<compute -F /tmp/myrsync> | ||||
|  | ||||
| =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<xdcp> I<compute -F /tmp/myrsync> | ||||
|  | ||||
| =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<xdcp> I<compute  -F /tmp/myrsync>    to update the Compute Nodes | ||||
|   | ||||
		Reference in New Issue
	
	Block a user