Help for this page

Select Code to Download


  1. or download this
    my $in1 = "exhibit1_29JUN2010.pdf";
    my $in2 = "exhibit2.pdf";
    ...
    my $out = "exhibits_$date.pdf";         # create output file name
    
    system "pdftk /home/Memos/$in1 /home/Memos/$in2 cat output /home/Memos
    +/$out";
    
  2. or download this
    my $dir = "/home/Memos";
    my $in1 = <$dir/exhibit1_*.pdf>;
    ...
    my $out = "$dir/exhibits_$date.pdf";
    
    system "pdftk", $in1, $in2, "cat", "output", $out;