RSync task

RSync task

Description

Task to process rsync.

RSync task parameters

Attribute Description Value Required
local the local directory yes
remote the remote directory or url yes

Examples

<project name="rsync task">
	<taskdef name="rsync"
		classname="net.sourceforge.ant4x.taskdefs.RSyncTask"
		classpath="PATH/TO/ant4x.jar"/>
		
	<target name="rsync">
		<rsync local="/path/to/local/dir" remote="/path/to/remote" />
		<!-- will create /path/to/remote/dir -->
	</target>
</project>