Re: [expert] wav to mp3 enmasse?

2003-10-14 Thread Brian Parish
On Mon, 2003-10-13 at 23:00, bascule wrote: basename will remove trailing suffixes: mv $i $(basename $i .OK) this removes '.OK' from the end of filenames but nowhere else bascule On Monday 13 Oct 2003 9:15 am, Brian Parish wrote: for i in *.OK; do mv $i `echo $i | tr -d '.OK'`;done;

Re: [expert] wav to mp3 enmasse?

2003-10-14 Thread Thomas Deutsch
Brian Parish [EMAIL PROTECTED] schrieb: On Mon, 2003-10-13 at 23:00, bascule wrote: basename will remove trailing suffixes: mv $i $(basename $i .OK) this removes '.OK' from the end of filenames but nowhere else bascule On Monday 13 Oct 2003 9:15 am, Brian Parish wrote: for

Re: [expert] wav to mp3 enmasse?

2003-10-14 Thread Brian Parish
On Wed, 2003-10-15 at 01:54, Thomas Deutsch wrote: Brian Parish [EMAIL PROTECTED] schrieb: On Mon, 2003-10-13 at 23:00, bascule wrote: basename will remove trailing suffixes: mv $i $(basename $i .OK) this removes '.OK' from the end of filenames but nowhere else bascule

Re: [expert] wav to mp3 enmasse?

2003-10-14 Thread Jack Coates
On Tue, 2003-10-14 at 02:54, Brian Parish wrote: ... Based on the above I would have thought that: #!/bin/bash for i in *.OK; do mv $i $(basename $i .OK) would do it, but I get: line 3: syntax error: unexpected end of file Do I have too many dollars or something (this has never been

Re: [expert] wav to mp3 enmasse?

2003-10-13 Thread Brian Parish
On Mon, 2003-10-13 at 01:53, Jack Coates wrote: On Sun, 2003-10-12 at 06:27, Brian Parish wrote: On Thu, 2003-10-09 at 15:44, HaywireMac wrote: On Sat, 04 Oct 2003 23:36:28 -0700 Jack Coates [EMAIL PROTECTED] uttered: hell, this is a one-liner :-) for i in `ls *.wav`; do

Re: [expert] wav to mp3 enmasse?

2003-10-13 Thread bascule
basename will remove trailing suffixes: mv $i $(basename $i .OK) this removes '.OK' from the end of filenames but nowhere else bascule On Monday 13 Oct 2003 9:15 am, Brian Parish wrote: for i in *.OK; do mv $i `echo $i | tr -d '.OK'`;done; removes the .OK just fine, but also removes ., O and

Re: [expert] wav to mp3 enmasse?

2003-10-13 Thread ed tharp
On Mon, 2003-10-13 at 09:00, bascule wrote: basename will remove trailing suffixes: mv $i $(basename $i .OK) this removes '.OK' from the end of filenames but nowhere else bascule Thank you, I learned something good today. On Monday 13 Oct 2003 9:15 am, Brian Parish wrote: for i in

Re: [expert] wav to mp3 enmasse?

2003-10-12 Thread Brian Parish
On Thu, 2003-10-09 at 15:44, HaywireMac wrote: On Sat, 04 Oct 2003 23:36:28 -0700 Jack Coates [EMAIL PROTECTED] uttered: hell, this is a one-liner :-) for i in `ls *.wav`; do lame -buncha -options $i; done alias that sucker in your .bashrc like this: function mp3enc() { for i in

Re: [expert] wav to mp3 enmasse?

2003-10-12 Thread Jack Coates
On Sun, 2003-10-12 at 06:27, Brian Parish wrote: On Thu, 2003-10-09 at 15:44, HaywireMac wrote: On Sat, 04 Oct 2003 23:36:28 -0700 Jack Coates [EMAIL PROTECTED] uttered: hell, this is a one-liner :-) for i in `ls *.wav`; do lame -buncha -options $i; done alias that sucker in

Re: [expert] wav to mp3 enmasse?

2003-10-08 Thread HaywireMac
On Sat, 04 Oct 2003 23:36:28 -0700 Jack Coates [EMAIL PROTECTED] uttered: hell, this is a one-liner :-) for i in `ls *.wav`; do lame -buncha -options $i; done alias that sucker in your .bashrc like this: function mp3enc() { for i in `ls *.wav`; do lame -buncha -options $i; done } and in

Re: [expert] wav to mp3 enmasse?

2003-10-05 Thread Jack Coates
On Sat, 2003-10-04 at 22:24, Rob Blomquist wrote: Is there a tool for converting wav files to mp3s enmasse? Right now I am using Lame at the command line, but it is getting old. I would like to point Lame at a directory of wavs and have it encode the mp3 files using the same name. Any

Re: [expert] wav to mp3 enmasse?

2003-10-05 Thread Kwan Lowe
Is there a tool for converting wav files to mp3s enmasse? Right now I am using Lame at the command line, but it is getting old. I would like to point Lame at a directory of wavs and have it encode the mp3 files using the same name. Any thoughts beyond a shell script? There's a program

Re: [expert] wav to mp3 enmasse?

2003-10-05 Thread Ronald J. Hall
On Sunday 05 October 2003 01:24 am, Rob Blomquist wrote: Is there a tool for converting wav files to mp3s enmasse? Right now I am using Lame at the command line, but it is getting old. I would like to point Lame at a directory of wavs and have it encode the mp3 files using the same name.

[expert] wav to mp3 enmasse?

2003-10-04 Thread Rob Blomquist
Is there a tool for converting wav files to mp3s enmasse? Right now I am using Lame at the command line, but it is getting old. I would like to point Lame at a directory of wavs and have it encode the mp3 files using the same name. Any thoughts beyond a shell script? Rob -- Linux: For the