Lots of tools can join multiple mp3 files into one mp3 file that contains all the bits of the original files. Mp3 files but also files with the ogg extension can be concatenated easily because of the way the data is structured. The following command line argument will not work with many other file types like those created by Microsoft Office.
Only one line of code is needed to join multiple mp3 files:
QUOTE
Windows:
copy /b *.mp3 c:\new.mp3
Linux & Mac:
cat track1.mp3 track2.mp3 > compilation.mp3
That’s all there is needed. The /b parameter ensures that the files are copied in binary format. *.mp3 defines the source directory of the files. You can easily add a drive and folder structure in front. The wildcard * defines that all mp3 will be joined alphanumerically by the command. It is possible to limit the files by adding letters or numbers to the command, e.g. m*.mp3 to join all mp3 starting with the letter m.
The last part c:\mp3 defines the target directory for the newly created file as well as its name. A possibility to join files with different filenames is also available. Simply use the command copy /b file1.mp3 + aaa.mp3 + r3f.mp3 c:\new.mp3 for this. You may use wildcards as well for the process.