New utility link2dir