View Full Version : Help with Automator
Vixus
May 6, 2005, 02:18 AM
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
ChrisBrightwell
May 6, 2005, 08:48 AM
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.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.