rm the element only if it already exists
if the destination element directory does not exist, create it first