|
From: fmiser <fm...@gm...> - 2015-06-09 07:54:17
|
> Ryan wrote: > > I have a dir which mp3s are regularly added to one at a > time. Each time an mp3 is added, I would like to copy it > onto the end of another file while keeping the separate > files. > Is there any way to simply add each new file (one at a > time, as they show up) to the end of master.mp3 *without* > overwriting the previous content of the other mp3 files? I use GNU/Linux and heavily use BASH - so if that's not your platform, my idea may not help much. My first thought is to use a shell script and write a temporary file. Concatenate the latest mp3 and master.mp3 and write temp-master.mp3. The re-name/move temp-master.mp3 to overwrite master.mp3 However, mp3 is a lossy format and SoX _always_ re-encodes. So every time the script runs there would be additional losses. Probably not too bad for 3 or 4 files - but if there are 30 or 40 the early ones could be sounding pretty poor. My system has a tool called "mp3join" that concatenates MP3 files without re-encoding. That might be a better option. -- fm |