mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Do not hardcode the track numbers.
This commit is contained in:
parent
2b16d9eee8
commit
7ee419c0fb
1 changed files with 4 additions and 4 deletions
|
@ -9,10 +9,10 @@ cd music
|
|||
# rip all tracks beginning with second one (the first track is data)
|
||||
cdparanoia -B "2-"
|
||||
|
||||
# could certainly be more elegant..
|
||||
for i in "02" "03" "04" "05" "06" "07" "08" "09" "10" "11"
|
||||
do
|
||||
oggenc -q 6 -o $i.ogg track$i.cdda.wav
|
||||
for I in track*.cdda.wav; do
|
||||
NUM="${I#track}"
|
||||
NUM="${NUM%.cdda.wav}"
|
||||
oggenc -q 6 -o "$NUM.ogg" "$I"
|
||||
done
|
||||
|
||||
# remove .wav files
|
||||
|
|
Loading…
Reference in a new issue