Yooo.

j'ai trouvé la solution:

#!/bin/bash

i=0
mkdir build
rm build/*
cat destinataire_nb.csv \
| while read  dest nb; do
  (( i++ ))
convert intercalaire.pdf -gravity North -pointsize 30 -annotate +0+100 "$dest" build/"$(printf "%04d" $i)_${dest}.pdf"
  for j in seq $nb; do
    (( i++ ))
    cp cartable.pdf build/"$(printf  "%04d" $i)_cartable.pdf"
  done
done
pdfunite build/* whole_cartable.pdf
_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à