Take a look at
SoX - Sound eXchange, the Swiss Army knife of audio manipulation
SoX is a command-line audio processing tool, particularly suited to making quick, simple edits and to batch processing. If you need an interactive, graphical audio editor, use audacity(1).
So, it should be a nice fit as a companion command line alternative to audaciy!