Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
VLC has a fairly powerful command line interface. You could use it to convert AIFF to MP3, but I don't believe it will write AIFF. It still might be worth looking in to.