Use cat to merge chapters of an audiobook or other multipart files you may prefer to consolidate. You might proceed as follows:
- Create a temporary directory for the files to concatenate
- cd to the directory in Terminal
- Use the wildcard (*) to merge the files in the order in which they appear in the directory, and > redirection to create a single file, e.g.:
% cat * > xxx.mp3
If you've got a heap of files and don't feel like mousing, set up a subfolder as the working directory inside the folder with the files to concatenate. You can then wildcard the files to the working directory subfolder with something like this:
% mv ../abc* ./
When finished, move the merged file to the parent directory with
mv xxx.mp3 ../, then delete the parts in the working directory with
rm *. It's a good idea to back up the files before you begin -- otherwise, you may
rm away your material inadvertently.