Is there any way to convert a bunch of .ogg files in a folder to .mp3 using ffmpeg? [duplicate]

This question already has an answer here:

  • Suggestions for a batch audio converter? 1 answer

Is there any way to convert a whole heap of .ogg files in about 30 folders in a folder containing those folders to .mp3 files and put them in another folder using the command ffmpeg? The previous methods I have tried all led to the same error: “*.ogg no such file or directory”

If possible could you please tell me how? I cant find anything relating to this specific question.