[user@server1]$ tar -czvf - web/ | ssh user@server2 'rm -rf web/ ; tar -xzvf -'