Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 9, 2009, 02:33 PM   #1
djsound
macrumors 6502a
 
Join Date: Dec 2006
Converting upper case file names to lower case.

I have about 50 *.mp3's on my hard drive that have the file names in all upper case. When looking at them in itunes it drives me nuts....Is there a way to convert the uppercase file name to lowercase? I have googled but can't find anything. I do not want to do it manually, that would take a long time =( thanks, I'm crossing my fingers..
djsound is offline   0 Reply With Quote
Old Nov 9, 2009, 02:56 PM   #2
belvdr
macrumors 68040
 
Join Date: Aug 2005
Go to Terminal:

cd /path/to/files

for FILE in `ls -A1 *.MP3`; do FILENAME=`echo ${FILE} | sed 's/ /\\ /g'`; echo mv ${FILENAME} `echo ${FILENAME} | tr [A-Z] [a-z]`; done

That will output the commands to rename the files. If it looks correct, simply change "echo mv" to "mv".

Note this is untested and off the top of my head.
belvdr is offline   0 Reply With Quote
Old Nov 9, 2009, 03:19 PM   #3
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
If you want a GUI approach, get Name Mangler.
angelwatt is offline   0 Reply With Quote
Old Nov 9, 2009, 03:51 PM   #4
belvdr
macrumors 68040
 
Join Date: Aug 2005
Quote:
Originally Posted by angelwatt View Post
If you want a GUI approach, get Name Mangler.
Embrace the terminal, I say!
belvdr is offline   0 Reply With Quote
Old Nov 9, 2009, 07:56 PM   #5
djsound
Thread Starter
macrumors 6502a
 
Join Date: Dec 2006
I got so happy because Name Mangler looks perfect.....until I realized it doesnt work with os/x 10.4.1 =( which I have.........and there is no way I'd attempt Terminal hehe.......grrrrrrrrrrr
djsound is offline   0 Reply With Quote
Old Nov 9, 2009, 08:10 PM   #6
mscriv
macrumors 68040
 
mscriv's Avatar
 
Join Date: Aug 2008
Location: Dallas, Texas
I use the Automater Rename Finder Items command all the time to make batch changes like this. There is a command you can use called Change Case that will do exactly what you are trying to do. Just to be safe you can set up Automater to make a backup copy of the files prior to making the change in case something goes wrong. If you would prefer you can just make your own back up copy of the files.
__________________
I'm a professional therapist. If I deem our forum interaction to be professional in nature then I will bill you. Prompt payment is expected.
mscriv is offline   0 Reply With Quote
Old Nov 9, 2009, 08:23 PM   #7
djsound
Thread Starter
macrumors 6502a
 
Join Date: Dec 2006
very cool . I'll give that a go. thanks =)
djsound is offline   0 Reply With Quote
Old Nov 9, 2009, 08:30 PM   #8
Jhanson09
macrumors regular
 
Join Date: Feb 2009
Location: kansas city, mo
Quote:
Originally Posted by djsound View Post
I got so happy because Name Mangler looks perfect.....until I realized it doesnt work with os/x 10.4.1 =( which I have.........and there is no way I'd attempt Terminal hehe.......grrrrrrrrrrr
http://www.manytricks.com/namemangler/ click in the box that says for older systems try file list.
__________________
15" MacBook Pro 2.53 GHz, 4 GB RAM, 250 GB HD,
16 GB iPhone 4
Don't do it because it's cool, do it because you're cool.
Jhanson09 is offline   0 Reply With Quote
Old Nov 9, 2009, 08:35 PM   #9
djsound
Thread Starter
macrumors 6502a
 
Join Date: Dec 2006
doh! thanks
djsound is offline   0 Reply With Quote
Old Nov 9, 2009, 08:40 PM   #10
djsound
Thread Starter
macrumors 6502a
 
Join Date: Dec 2006
That actually worked great but I realized that not only was the filename in uppercase but the ID3 tags were too.......so in itunes (which was bothering me) the song names and info are still in uppercase.....and I am guessing there is no possible way to change all of the ID3 tags to lowercase......I think im ****** out of luck =/
djsound is offline   0 Reply With Quote
Old Nov 9, 2009, 09:27 PM   #11
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
You should take a look at Doug's AppleScripts for iTunes. There's one script for changing to sentence case, which is close to what you want. The scripts are somewhat old so no guarantee they work with the current iTunes, but worth a shot.
angelwatt is offline   0 Reply With Quote
Old Nov 29, 2009, 08:00 PM   #12
BriChi
macrumors 6502
 
Join Date: Oct 2006
Any way to get the artists to be all caps also, I used automator to change the tracks titles to all caps in the ID3 tag but nothing lets me change the artist also. I can change the filename with no issue but I really want to change the mp3 tag to be all caps. Thx guys for any info you have
BriChi is offline   0 Reply With Quote
Old Nov 6, 2012, 05:59 PM   #13
BerGaur
macrumors regular
 
Join Date: Dec 2011
Location: Inside my head
Quote:
Originally Posted by belvdr View Post
Go to Terminal:

cd /path/to/files

for FILE in `ls -A1 *.MP3`; do FILENAME=`echo ${FILE} | sed 's/ /\\ /g'`; echo mv ${FILENAME} `echo ${FILENAME} | tr [A-Z] [a-z]`; done

That will output the commands to rename the files. If it looks correct, simply change "echo mv" to "mv".

Note this is untested and off the top of my head.
What if the filenames have spaces?
__________________


When in doubt, flat out.
-Colin McRae
BerGaur is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
out of warrenty upper case replacement cost? GWA123 MacBook Pro 5 May 14, 2014 06:23 PM
Forum messing with upper case text SlCKB0Y Site and Forum Feedback 3 Nov 17, 2013 03:03 PM
cannot rename file names of folders, files, or change case of file extensions Sossity Mac Basics and Help 8 Apr 2, 2013 06:38 AM
2009 and 2011 upper case compatibility yamaha81 MacBook Pro 0 Feb 19, 2013 01:56 PM
Stripped screw hole (upper case), apple care, and questions. vbman213 MacBook Pro 3 Nov 21, 2012 02:15 AM

Forum Jump

All times are GMT -5. The time now is 03:52 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC