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 ne
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
> > >
>
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 w
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 '.O
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
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 ".",
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 :-)
> > > >
> > > >
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
> >
> >
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(
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 i
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.
> 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 pro
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.
>
>
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 pe
14 matches
Mail list logo