In need a piece of software for linux that records sound from sound card in mp3 format, removes silence automatically and saves mp3 file automatically in a specified folder giving automatically names.

There are some programs that work that way for windows, for example mp3mymp3 or Total recorder. I'm looking for a program that works exactly that way.

I know that audacity can remove silence and can exports as mp3, but is there a way to do this process automatically? Are there any plugins for this?