Did you happen to buy an audiobook and all you got is one big mp3 file with a .cue file?

Why am I asking?

Because from time to time I buy an audiobook at Audioteka and as I prefer to have each chapter as a separate mp3, I have to split one audio file into smaller ones by myself.

But, hey, I can do it in terminal with mp3splt!

(There is also GUI option: mp3splt-gtk!)

If you use Arch based distro you can install mp3splt with pacman:

sudo pacman -S mp3splt

And then split the audiobook with:

mp3splt big-audiobook.mp3 -c big-audiobook.cue -d big-audiobook-directory

And below real example:

mp3splt filary-ziemi-2.mp3 -c filary-ziemi-2.cue -d filary-ziemi-2-rozdziały