15 lines
242 B
Bash
Executable file
15 lines
242 B
Bash
Executable file
#! /bin/sh
|
|
|
|
abcde -N -a cddb,read
|
|
|
|
discid=$(cd-discid | awk '{print $1}')
|
|
|
|
cat <<EOD >env
|
|
mtype=cd
|
|
discid=$discid
|
|
EOD
|
|
|
|
now=$(date +%Y%m%d.%H%M%S)
|
|
sed -i s/'Unknown Album$'/"Unknown Album $now"/ abcde.$discid/cddbread.0
|
|
|
|
# vi: sw=2 ts=2 et ai
|