Hi @Anonymous
Are the folders inside one another or all in the same parent folder? If not, you need to go through the folders and subfolders, and if you find a file, then move it to the destination folder.

This approach will generate many runs so I don't recommend it but it's the only way to go through nested folders.
If all in the same folder, just run through the folder and copy (or move) the files.
After that, you can run that folder again and convert to a PDF file. OneDrive allows you to convert a file to PDF.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel