On Thu, 5 Apr 2001, Asheesh Laroia wrote:> This will post-pend id3v1 tags. I thought they were found at the > beginning of files. > > If not, then it looks fine to me. I may add some parentheses, though, > like (tail -c 128 ${f} > tag) && (flac-0.8 -d $f ${f%flac}wav), etc.Why? That just forces the commands to be run under sub-shells. Why fork an extra shell for no reason? More efficient to leave them out.> That decoding line should be "${f%.flac}", no "*", right? Same with the > encoding command: > flac-0.9 -V ${f%flac}wav $f > > Seem better?You're quite correct.> (-8 BTW, I'm on Linux Mandrake cooker, not Windows. 8-)BTW I'm on FreeBSD :) Later.> > Thanks a lot for this, btw. > > -- Asheesh. > > On Thu, 5 Apr 2001, Josh Coalson wrote: > > > if your talking id3v1, something along the lines of (in bash): > > > > for f in *.flac ; do tail -c 128 $f > tag && flac-0.8 -d $f > > ${f%*.flac}.wav && flac-0.9 -V ${f%*.flac}.wav $f && cat tag >> $f ; > > done > > > > should work. of course, test it before you set it loose on your > > whole collection. > > > > if you're on windows, my condolences... no wait, just get cygwin :) > > > > Josh > > > > --- Asheesh Laroia <paulproteus@technologist.com> wrote: > > > I'm actually not using 0.9 yet. I have my CD collection archived in > > > 0.8 > > > format, and I want to keep my ID3 tags. > > > > > > If someone can whip up a script that lets me extract my ID3 tags to a > > > file > > > for each file, decompress into WAV, then recompress into 0.9 format, > > > then > > > re-integrate the ID3 data, that'd be good. Otherwise. I'll be stuck > > > in > > > 0.8 forever. > > > > > > Which I don't want.... > > > > > > -- Asheesh. > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/ > > > > _______________________________________________ > > Flac-dev mailing list > > Flac-dev@lists.sourceforge.net > > http://lists.sourceforge.net/lists/listinfo/flac-dev > > > > > > -- > "A complex system that works is invariably found to have evolved from a simple > system that worked." > -- John Gall, _Systemantics_ > > > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/flac-dev >Mark Powell - UNIX System Administrator - The University of Salford Academic Information Services, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 www.pgp.com for PGP key
if your talking id3v1, something along the lines of (in bash):
for f in *.flac ; do tail -c 128 $f > tag && flac-0.8 -d $f
${f%*.flac}.wav && flac-0.9 -V ${f%*.flac}.wav $f && cat tag
>> $f ;
done
should work. of course, test it before you set it loose on your
whole collection.
if you're on windows, my condolences... no wait, just get cygwin :)
Josh
--- Asheesh Laroia <paulproteus@technologist.com>
wrote:> I'm actually not using 0.9 yet. I have my CD collection archived in
> 0.8
> format, and I want to keep my ID3 tags.
>
> If someone can whip up a script that lets me extract my ID3 tags to a
> file
> for each file, decompress into WAV, then recompress into 0.9 format,
> then
> re-integrate the ID3 data, that'd be good. Otherwise. I'll be
stuck
> in
> 0.8 forever.
>
> Which I don't want....
>
> -- Asheesh.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
This will post-pend id3v1 tags. I thought they were found at the
beginning of files.
If not, then it looks fine to me. I may add some parentheses, though,
like (tail -c 128 ${f} > tag) && (flac-0.8 -d $f ${f%flac}wav), etc.
That decoding line should be "${f%.flac}", no "*", right?
Same with the
encoding command:
flac-0.9 -V ${f%flac}wav $f
Seem better?
(-8 BTW, I'm on Linux Mandrake cooker, not Windows. 8-)
Thanks a lot for this, btw.
-- Asheesh.
On Thu, 5 Apr 2001, Josh Coalson wrote:
> if your talking id3v1, something along the lines of (in bash):
>
> for f in *.flac ; do tail -c 128 $f > tag && flac-0.8 -d $f
> ${f%*.flac}.wav && flac-0.9 -V ${f%*.flac}.wav $f && cat
tag >> $f ;
> done
>
> should work. of course, test it before you set it loose on your
> whole collection.
>
> if you're on windows, my condolences... no wait, just get cygwin :)
>
> Josh
>
> --- Asheesh Laroia <paulproteus@technologist.com> wrote:
> > I'm actually not using 0.9 yet. I have my CD collection archived
in
> > 0.8
> > format, and I want to keep my ID3 tags.
> >
> > If someone can whip up a script that lets me extract my ID3 tags to a
> > file
> > for each file, decompress into WAV, then recompress into 0.9 format,
> > then
> > re-integrate the ID3 data, that'd be good. Otherwise. I'll be
stuck
> > in
> > 0.8 forever.
> >
> > Which I don't want....
> >
> > -- Asheesh.
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> _______________________________________________
> Flac-dev mailing list
> Flac-dev@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/flac-dev
>
>
--
"A complex system that works is invariably found to have evolved from a
simple
system that worked."
-- John Gall, _Systemantics_