#!/bin/bash
# author icham.sirat <icham.sirat@axyus.com>
# date 20220914

for folder in *
do if [ -d ${folder} ];then 
	echo ${folder}
	if [ -d ${folder}/PRODUCTION ];then
		echo "création nouvel env"
		mkdir ${folder}/TEST
		rsync -avP ${folder}/PRODUCTION/* ${folder}/TEST/
	fi
fi
done
