Last change
on this file since 41 was
2,
checked in by peter, 13 years ago
|
added flac2mp3s utility that uses flactrack to convert a single flac file into a directory of mp3 files, one per track
|
-
Property svn:executable set to
*
|
File size:
236 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | FLAC=$1 |
---|
3 | DIR=`echo $FLAC | sed s/\.flac$//` |
---|
4 | mkdir -p $DIR |
---|
5 | metaflac --export-cuesheet-to - $FLAC | \ |
---|
6 | grep 'TRACK' | cut -d' ' -f4 | \ |
---|
7 | while read TRACKNUM; \ |
---|
8 | do flactrack -D $TRACKNUM=$DIR/$TRACKNUM $FLAC; \ |
---|
9 | done; |
---|
Note: See
TracBrowser
for help on using the repository browser.