sync directory.