"C:\Program Files (x86)\WinSCP\winscp.exe" /console /script=synchronize.scp /parameter "c:\Documents" /lcs_linux/users/jlt/Documents
open jlt@192.168.10.1
# Synchronize paths provided via environment variables
call mkdir %2%
synchronize remote -delete %1% %2%
call find %2% -name .svn .| xargs rm -rf
call tar -C %2% -zcf %2%.`date +%Y-%m-%d`.tar.gz .
# remove old tarball
call echo "find . -name '`basename %2%`*.tar.gz' -ctime +30 -exec echo '{}' \;"
call find `dirname %2%` -name "`basename %2%`*.tar.gz" -ctime +30 -exec rm -f '{}' \;
# exit console
exit