User posts export as csv or text

But this includes PM also and I want only public posts.