Files
files/convert-to-wav.pl
T
2012-11-12 22:18:13 -05:00

13 lines
202 B
Perl
Executable File

#!/usr/bin/perl -w
use strict;
foreach my $arg (@ARGV)
{
my $out = $arg;
$out =~ s/\....$//;
$out =~ s/\,/\\,/g;
system('mplayer', '-vo', 'null', '-ao', "pcm:file=$out.wav", $arg);
}