commit 3dbb81aedc7fdad325f03cf805306030c8bbc1ce
parent d7e8e2b6cd0f0647a782728200f358057e8e2728
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 17 Oct 2019 15:48:06 +0200
Eject cd after completion
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.local/bin/rip-audio-cd.sh b/.local/bin/rip-audio-cd.sh
@@ -27,6 +27,7 @@ echo "output dir: $outdir"
mkdir -p "$outdir"
cd "$outdir"
cdio cdrip
+cdio eject
for f in *.wav; do
track=$(echo "$f" | sed 's/track\([0-9]*\).wav/\1/')