> I wonder how i can rename, for instance, *.mp3 to *.ogg files...
You can't rename them - if you simply did that you would have a bunch
of mp3 files with an 'ogg' extension, which is something I don't think
you want.
Converting them inside of a shell script would be the approach I'd
take. mpg12
The mv command will perform that function.
For example, you take a JPEG named test.jpg and you want to name it background.jpg.
The
following command will do the trick for ya.
mv test.jpg background.jpg
It takes the test.jpg and moves it to the destination you specified. This of course
works
Hi!
I wonder how i can rename, for instance, *.mp3 to *.ogg files...
It was very easy with dos, win, os2 but under linux i don't know how
8-?
Thanks!
--
Joan Tur. Ibiza - Spain
[EMAIL PROTECTED] [EMAIL PROTECTED] ICQ 11407395
Joan.Tur.pagina.de www.ClubIbosim.org
Linux: usua
Bernhard Rosenkraenzer wrote:
>
> On Sat, 10 Apr 1999, Ken wrote:
>
> > vacation01.jpg
> > vacation02.jpg
> > vacation03.jpg
> >
> > I want to rename just the vacation part to toronto**.jpg. toronto01.jpg,
> > toronto02.jpg etc...
>
> for i in vacation*jpg; do
> a=`echo $i |sed -e 's/vacatio
On Sat, 10 Apr 1999 18:38:07 -0700, you wrote:
>
>I want to rename just the vacation part to toronto**.jpg. toronto01.jpg,
>toronto02.jpg etc...
>
>What would I type to accomplishing this? Typing 'mv vacation01.jpg >
>toronto01.jpg' for each file isn't fun either. My only other alternative
>is
On Sat, 10 Apr 1999, Ken wrote:
> vacation01.jpg
> vacation02.jpg
> vacation03.jpg
>
> I want to rename just the vacation part to toronto**.jpg. toronto01.jpg,
> toronto02.jpg etc...
for i in vacation*jpg; do
a=`echo $i |sed -e 's/vacation/toronto/'`
mv $i $a
done
LLaP
bero
Ken wrote:
>
> I need some help renaming a bunch of files, about 350 in fact. They all
> begin with vacation*.jpg
>
> example:
>
> vacation01.jpg
> vacation02.jpg
> vacation03.jpg
>
> I want to rename just the vacation part to toronto**.jpg. toronto01.jpg,
> toronto02.jpg etc...
>
> What wo
I need some help renaming a bunch of files, about 350 in fact. They all
begin with vacation*.jpg
example:
vacation01.jpg
vacation02.jpg
vacation03.jpg
I want to rename just the vacation part to toronto**.jpg. toronto01.jpg,
toronto02.jpg etc...
What would I type to accomplishing this? Typin