I have a collection of folders, some of which contain .flac files while others contain .mp3 files. 

I need everything to be in .mp3, but I don't exactly want to go through hundreds of folders in format factory. 

Is there anyway to automate this process in either Windows or Linux?