Hamlet fourbi
»
ready, set, bash
+
about
(1)
-
bash
(1)
+
blog
(1)
+
english
(3)
+
français
(1)
+
idea
(1)
+
latex
(1)
+
link
(1)
+
linux
(4)
+
ruby
(3)
+
script
(3)
+
tip
(3)
+
vanduino
(1)
+
vim
(1)
December 05 2008
Count total pages of pdf files in a directory
05/12/08 17:37
declare
-
i
C
=
0
for
i
in
*.
pdf
do
pdftops
$i
toto
.
ps
C
=
$C
+
$(
grep
-
c
showpage
toto
.
ps
)
echo
$C
done
;
tagged with
linux
(4)
,
tip
(3)
,
script
(3)
,
bash
(1)