synchronise on directory