Skip to content

Instantly share code, notes, and snippets.

@tepie
Last active December 11, 2015 18:39
Show Gist options
  • Save tepie/4643594 to your computer and use it in GitHub Desktop.
Save tepie/4643594 to your computer and use it in GitHub Desktop.
exec sftp directory list via ant
<exec os="Linux" executable="sftp" inputstring='ls -l ${remote.directory}'>
<arg line='-o Protocol=2 -o IdentityFile=${KEYFILE} ${USER}@${HOST}' />
</exec>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment