for D in $(find -mindepth 3 -maxdepth 3 -type d) ; do rm -rf ../${D:2} cp -avr ${D:2}/ ../${D:2} done