#!/bin/bash # A simple shell script to rip audio cd and create mp3 using lame # and cdparanoia utilities. # ---------------------------------------------------------------------------- # Written by Vivek Gite <http://www.cyberciti.biz/> # (c) 2006 nixCraft under GNU GPL v2.0+ # ---------------------------------------------------------------------------- read -p "Starting in 5 seconds ( to abort press CTRL + C ) " -t 5 cdparanoia -B for i in *.wav do lame --vbr-new -b 360 "$i" "${i%%.cdda.wav}.mp3" rm -f "$i" done
How Do I Use This Script?
Download the script. Put audio cd into drive. Create directory to store mp3s, enter:
mkdir music
cd music
mkdir "Album name"
cd !!:1
/path/to/ripcd.sh
See HowTo: Linux Rip and Encode Audio CDs
4000+ howtos and counting! If you enjoyed this article, join 45000+ others and get free email updates!
Click here to subscribe via email.
Click here to subscribe via email.
- Download Script
- Email this to a friend
- Rss Feed
- Last Updated: 06/17/10



![Shell script: Opens LUKS Partition and Sets Up a Mapping [ Mounting Encrypted Partition ]](http://s0.cyberciti.org/images/rp/1/20.jpg)


