Rename files with numbers

dudufigueiredo at gmail.com dudufigueiredo at gmail.com
Mon Oct 31 11:33:10 EST 2005


I have one folder containing mp3 files, the folder is:
C:\My Shared Folder\Rubber Soul

And the files are:
01 drive my car.mp3
02 norwegian wood.mp3
03 you won't see me.mp3
04 nowhere man.mp3
.
.
.

I'm trying to rename files to:
The Beatles - Drive My Car.mp3
The Beatles - Norwegian Wood.mp3
The Beatles - You Won't See Me.mp3
The Beatles - Nowhere Man.mp3
.
.
.

So I need to change the file number to "The Beatles -" and Capitalize
the name.
I was trying to create a function and using glob and rename, but i had
no sucsses...
Could somebody help me please,
Since now, thanks...




More information about the Python-list mailing list