#!/bin/bash

#find ftp -name centos6 -type d | while read t ; do 
#	s="`echo $t | sed 's/\.\///g'`"
#	s="root@c6build.int.sup.sdzecom.de:/home/srv/$s"
#	echo "$s $t"
#	rsync --delete -ave "ssh" "$s/" "$t/"
#done

find ftp -name centos7 -type d | while read t ; do 
	s="`echo $t | sed 's/\.\///g'`"
	s="root@wmf-cs161-rh7build.int.sup.sdzecom.de:/home/srv/$s"
	echo "$s $t"
	rsync --delete -ave "ssh" "$s/" "$t/"
done



