remove and ignore target directory