Video icon 64
Learn to code with practical video courses from Tuts+. Start your free trial today.
Advertisement

Adding Metadata to Your Garageband Project

by

Adding metadata to an audio file can be confusing and unintuitive. In this screencast we'll take a look at some common pitfalls and find the fastest, easiest way to solve the problem.


Adding Metadata to Your Garageband Project

Perl Code from Automator Action

$oldfile = "$ARGV[0]";
$newfile = $oldfile;
$path = "/";

$newfile =~ s/.*\/Ep\s(\d*).*//g;
$newfile = substr("00$1",-3);
$newfile = "handlebars$newfile";
$newfile = "$path$newfile";

rename $oldfile, $newfile;
Advertisement