projects
/
cmccabe-bin
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add ts, a tool to print timestamps
[cmccabe-bin]
/
mp3splt-audiobook
1
#!/usr/bin/env bash
2
3
#
4
# Split an audiobook into multiple 5-minute segments.
5
#
6
7
die() {
8
echo $@
9
exit 1
10
}
11
12
which mp3splt &> /dev/null \
13
|| die "you must install mp3splt, the mp3 splitting utility."
14
15
mp3splt -t 5.0 -n -f -o '@n' $@