- 출처 : http://stackoverflow.com/questions/12922157/copy-and-unzip-files-to-remote-machine-ant -
<!-- unzip transfered zip file --> <target name="remoteUnzip"> <sshexec host="111.222.333.444" username="admin" password="1111" command="/bin/sh -c ' for zipfile in /aaa/*.zip; do /usr/bin/unzip -d /aaa/unzip $$zipfile ; done '" /> </target>