Is there a way to bulk move emails from 1,000's of Folders

Due to a hard disk failure and rescuing my data and importing back into a fresh install of Thunderbird, I now have 1,000ā€™s of folders with about 40 (plus or minus lots) emails in each folder.

Is there a way to bulk move all the emails from the folders to one folder please?

Iā€™m using Windows 11 and TB version 102.6.1 (64 bit)

Thanks in advance :slight_smile: