A blend of tansy, lavender and rosemary is supposed to repel moths, while mint is said to repel flies and ants. Let the powder sit for awhile before vacuuming your carpet. It certainly won't hurt to hang herbs in the closet or doorway as they will smell...