I accidentally discovered that flies don't seem to like the smell of mint. I harvested a bunch, and gave the stems to the goats. They didn't eat them, but it was a week before I saw another fly in the barn. I was using apple mint, but other types will probably work too.(posted 9658 days ago)