--- Legal Stuff --- oggize.sh is (c) Riquer Vincent and distributed under the terms of the GNU GPL version 2. This means you may modify, redistribute, and even sell this software, as long as you give credits to the original author and allow people to do the same. See file GPL-2 for details --- Using the software --- This script allows you to rip a CD encode a bunch of .wav files using the ogg vorbis codec from xiph.org. Without any arguments, it assumes that files should be ripped in encode are in the current folder and the target dir is also the current dir (see Filename scheme below). oggize.sh [OPTIONS] oggize.sh 0.2 options may be : -s : the directory where wave files should be (default: .) -d : the directory where ogg file should be (default: .) files will be ////---.ogg -q <quality> (default: 4) -R : remove wav files after encoding -t <filename> : add file to this tar archive. If it doesn't exist it'll be created -r <ripper> : use specified ripper (default: cdparanoia) -A <options> : append options to the ripper (default: -B) Example : oggize.sh -s /home/Media/zzz-ripping -d /home/Media/musik -r cdparanoia -q4 -R -A '-z -B' will rip using cdparanoia with the options '-z -B' in /home/Media/zzz-ripping/, then encode to /home/Media/musik/ in quality 4, then remove files in /home/Media/zzz-ripping The script will then prompt for some infos about the files : Genre, artist, album, track number and track title. These infos are used both for file and directory names and file tagging. After the first file, the script will remember the infos you entered and you use them as default values for the other files. The track number is incremented automatically, and if you number the first file "01", the next will be numbered "02", and so on (very useful when "ogging" a CD with more than 9 tracks). --- Filename scheme --- Unfortunately, the formats of filenames can't be tuned unless you edit the code manually. The files are named as follow : <target dir>/genre/artist/album/artist--track number-title.ogg