CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...: Re: [KevinR] Runs mp4box with command lines: Edit Log

New User

Sep 25, 2007, 1:30 PM

Views: 3315
Re: [KevinR] Runs mp4box with command lines

You are right! Thanks man, I was totally confused lmao Here's the final perl I used:


use File::Find;

$basedir = "<path-to-your-folder>";

find( sub {
next unless /(.*)\.aac$/;
$fn = $1;
$cmd = qq(<path-to-mp4box> -add "$fn.aac" "$fn.m4a");
print "$cmd\n";
system $cmd;
}, $basedir );

And I got this to run in Terminal

 find <path-to-your-folder> -name '*.m4a' -exec <path-to-mp4box> -raw 1 {} \;

(This post was edited by sderenzi on Sep 25, 2007, 1:32 PM)

Edit Log:
Post edited by sderenzi (New User) on Sep 25, 2007, 1:32 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives