Flies hate the smell of essential oils like lemon grass, peppermint, lavender and eucalyptus. They also dislike the smell of camphor, cinnamon, and cloves.