change to support new rsync file syntax, either file1 file2 -> directory or file -> file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -80,20 +80,20 @@ such as xdsh and xdcp to accomplish these update tasks. | ||||
|         The following formats are supported: | ||||
|         1) sync file /etc/file1 to the directory /etc on the node with  | ||||
|         the same file name | ||||
|             /etc/file1 -> /etc | ||||
|         2) sync file /etc/file2 to the file /etc/file2 on the node (with  | ||||
|         same file name) | ||||
|             /etc/file2 -> /etc/file2 | ||||
|         3) sync file /etc/file2 to the file /etc/file3 on the node (with  | ||||
|             /etc/file1 -> /etc/file1 | ||||
|         2) sync file /etc/file2 to the file /etc/file3 on the node (with  | ||||
|         different file name) | ||||
|             /etc/file2 -> /etc/file3 | ||||
|         3) sync file /etc/file2 to the file /etc/tmp/file3 on the node (with  | ||||
|         different file name, different directory) If the directory does not | ||||
|         exist, it will be created.  | ||||
|             /etc/file2 -> /etc/tmp/file3 | ||||
|         4) sync the multiple files /etc/file1, /etc/file2,  /etc/file3,  | ||||
|         ... to the directory /tmp/etc (/tmp/etc must be a directory when  | ||||
|         multiple files are sync'd at one time).  If the diretory does  | ||||
|         multiple files are sync'd at one time).  If the directory does  | ||||
|         not exist, xdcp will create it.  | ||||
|             /etc/file1 /etc/file2 /etc/file3 -> /tmp/etc | ||||
|  | ||||
|         Comment lines are NOT supported in the synlist file. | ||||
|  | ||||
|  | ||||
|     Indicate the location of the synclist file. | ||||
|   | ||||
| @@ -109,12 +109,14 @@ build the rsync command. | ||||
| The format of the input file is as follows, each line contains: | ||||
|  I<path to source file1> <path to source file2> ... ->  < path to destination file/directory> | ||||
|  | ||||
|  I<path to source file> -> <path to destination file> | ||||
|  | ||||
| For example: | ||||
|   /etc/password /etc/hosts -> /etc | ||||
|   | ||||
|   /tmp/file1  ->  /tmp | ||||
|  | ||||
|   /tmp/file2  ->  /tmp/filex | ||||
|   /tmp/file2  ->  /tmp/file2 | ||||
|  | ||||
|   /tmp/filex  ->  /tmp/source/filey | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user