rm-ed gen dir