changeset 5:b6e64e348e47

script will restore lost files now
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 07:12:40 -0700
parents 87e64f302234
children a012d31df380
files convert.pl
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/convert.pl	Fri Oct 21 06:54:14 2011 -0700
     1.2 +++ b/convert.pl	Fri Oct 21 07:12:40 2011 -0700
     1.3 @@ -136,9 +136,10 @@
     1.4  Winters.wav
     1.5  YourSanctuary1.wav
     1.6  YourSanctuary2.wav
     1.7 -Zombies.wavAA.spc);
     1.8 +Zombies.wav);
     1.9  
    1.10  @sources = qw(
    1.11 +AA.spc
    1.12  AB.spc
    1.13  AC.spc
    1.14  AD.spc
    1.15 @@ -278,9 +279,12 @@
    1.16  
    1.17  for (0..$#targets){
    1.18  
    1.19 -  $command =  "./build/spc_convert -s 1" . " -i ./test-files/" . $source[$_] . 
    1.20 -    " -o ./output/" . $target[$_];
    1.21 +
    1.22 +  $command =  "./build/spc_convert -s 100" . " -i ./test-files/" . $sources[$_] . 
    1.23 +    " -o ./output/" . $targets[$_];
    1.24    print "$command\n";
    1.25  
    1.26 +  `$command`;
    1.27 +
    1.28  }
    1.29