demo of dynamically sync each dir