Code: Select all
1 #!/bin/sh
2 # splitting
3 pdftk doc.pdf cat 1-3 output out doc2.pdf
4 #resizing page
5 java -cp multivalent.jar tool.pdf.Impose -dim 1x1 -paper 6x9in doc2.pdf
6 #renamin
7 mv doc2.pdf doc.pdf
and i want show progress of this script; do you think this can be done reading lines and then divide
lines read at moment/lines total
or not?