Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Vixus

macrumors newbie
Original poster
Sep 8, 2004
23
0
Hi, I really want to use automator for renaming mp3 files. However, I can't seem able to remove the track numbers from the filename. For example, in "01 - Artist Name - Song Name.mp3", I want to remove the number and just have it "Artist Name - Song Name.mp3". How can I tell automator to remove just the numbers. Do I have to do replace text for each number? Cause otherwise, I think automator is completely useless.

Vixus
 
You can use a terminal command to do this, but I forget the syntax right off-hand.

ls -R ./ | grep "*.mp3" | cut [something] | mv [something]

You need an xargs in there somewhere, too. I'll try to figure it out tonight if I get some time. :)

It would probably be easier to write a shell script or something. Automater may be able to do it, but I've not had enough time to really play with it.

If you set iTunes' import options to *not* include track numbers, the self-organizing feature may do this for you. I haven't tried.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.