synchronize directory structure