How To Save All Sessions To Disk -batch, inbulk?

I have a sidebar with all my previous sessions listed. I don’t know if chatgpt put it there or the plugin ‘Superpower GPT’ which I have. But either way the list includes heaps of empty chats. Nothing happened. I would like to be able to get rid of all them and I would like to download all the rest.
I realise of course I can copy and paste each/any one. The point here is there are too many for that to be good.
And, of course, the same with the empty chats - I can select delete for any one and wait a second or two, then the next, etc. etc… to frustratingly tedious.
Any advice?

There is an export function, click on your profile image at the top right, settings, data controls, export data.