This is the commandline I usually use to split a podcast into 6 minute

mp3splt podcast.mp3 -g %[@N=0,@o] -o “@n @f” -t 6.0

-t 6.0: split every 6 minutes
-g %[@N=0,@o]: for every section use the original tags, but update the track number starting from 0.
-o "@n @f": The output file name should be the original filename with the track number tacked on in front.


atool – manage file archives of various types

$ atool --help
Usage: atool [OPTION]... ARCHIVE [FILE]...
       atool -e [OPTION]... [ARCHIVE]...
Manage file archives of various types.

  -l, --list               list files in archive (als)
  -x, --extract            extract files from archive (aunpack)
  -X, --extract-to=PATH    extract archive to specified directory
  -a, --add                create archive (apack)
  -c, --cat                extract file to standard out (acat)
  -d, --diff               generate a diff between two archives (adiff)
  -r, --repack             repack archives to a different format (arepack)
      --help               display this help and exit
      --version            output version information and exit

atool homepage

Moving or Renaming Multiple Files – The Easy (zsh) Way

Linux workers like you and me often need to move a bunch of files. For example, you want to rename all *.dat files into *.dat_save, or you want to rename all files foo.* into something like bar.*. This, however, is not easy to do using the move command as 1) “mv” only supports a single destination file or directory and 2) the shell tries to expand patterns like “*.dat” into e.g. “a.dat b.dat c.dat” before executing the command. The typical workaround is to write a for loop like “for f in *.dat; do mv $f ${f/dat/dat_save}; done“. But it goes much easier if you use the power of zsh, which is the superior shell anyway. ;)

Insert the following two lines into your .zshrc

autoload -U zmv
alias mmv='noglob zmv -W'

The first line activates the zmv command, an extended move command provided by the zsh. The second line creates an alias for a simplified invocation of that command. All of a sudden, you can write something like “mmv *.dat *.dat_old” or “mmv foo.* bar.*” into a newly opened terminal and it will do as you expect! You can even invoke “mmv **/*2008.mp3 **/*2009.mp3” and all matching files residing in any subdirectory are renamed according to the pattern as well.