So I was working with some audio files last night and I wanted to add silence at the end of each file in a particular directory. I created a sound file of silence (sure, there is probably another way to do that) then, using sox, combined the two files and put it into a new sound file. Here is the code I came up with:
sox -m -v 1 file.wav silence.wav -t wav outputfile.wav