#!/bin/bash
#

set -x 

cd /home/zonetest/DevZT/

rsync -av --exclude 'ZT.pro.*' --exclude 'Debug/*' --exclude 'Release/*' --exclude 'Trains/*' --exclude '.svn' zonetest@$1:/home/zonetest/DevZT/ZT ./

#clean up local object code
rm -rf ./ZT/Debug/*
rm -rf ./ZT/Release/*

find ./ZT/sources/ -type f -exec touch {} +

exit
