diff --git a/manual/Tasks/scp.html b/manual/Tasks/scp.html index e8d66d0da..6d06bd213 100644 --- a/manual/Tasks/scp.html +++ b/manual/Tasks/scp.html @@ -203,10 +203,11 @@ for more information. This task has been tested with jsch-0.1.2 and later.
FileSets are used to select
-sets of files to copy.
- To use a fileset, the todir
attribute must be set.
FileSets or Resource Collections are used to select
+ groups of files to copy. To use a fileset or a resource collection, the todir
attribute must be set.
Copy a single local file to a remote machine
@@ -253,9 +254,18 @@ authentication. <include name="**/*.java"/> </fileset> </scp> - + +Copy a set of files to a remote directory in reverse last-modified order
+<scp todir="user:password@somehost:/home/chuck"> - <fileset dir="src_dir" excludes="**/*.java"/> + <sort> + <reverse> + <date /> + </reverse> + <fileset dir="src_dir"> + <include name="**/*" /> + </fileset> + </sort> </scp>