Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an online subscription to a radio program that allows me to download past episodes. However when they are opened in iTunes the album name is set in the format Apr 01 2008. The problem is that there are thousands of these and I would like to change it to a better format such as 2008 01 Apr or even 2008 Apr 01. Is there any automatic way to change an mp3's metadata - or a program like a Better Finder Rename that can edit this iTunes metadata for the thousands of tracks that I have?

share|improve this question

I recommend Doug's Applescripts for iTunes as a great resource to keep in mind for any future questions you might have. From it I found the script that applies sed to the track names. Once you follow the instructions to install the script, put the following code in the popup box:

s/\([:alpha:]\)+ \([:digit:]+\) \([:digit:]+\)/\3 \1 \2/ 

N.B. This is actually the first time I've used sed, so I recommend testing this out on a few individual songs first.

(Also, if you don't have any programming experience, then it's likely that the Regular Expression above looked downright arcane. Don't worry! That's totally normal.)

share|improve this answer

You should check out Doug's Applescripts for iTunes. He's written a collection of scripts that will do most everything.

share|improve this answer

I was using Doug's Script (the one that applies sed to track names) with this pattern:

s/\([:alpha:]*\)\ \([0-9]\{2\}\).\([0-9]\{2\}\).\([0-9]\{4\}\)/\1 \4-\3-\2/

to rename stuff like Charts 01.10.2013 to Charts 2013-10-01.

However if you want to use it for Albums and not for the Title, you have to modify the AppleScript and replace name with album in the line that contains the sed command

share|improve this answer
How does this differ or improve on Josh Tilles's answer? – Mark Oct 13 '13 at 21:20
mine is for the european date format – Simon D. Seim Oct 19 '13 at 11:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.