File: test-pdfs.sh

package info (click to toggle)
tcpflow 1.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,732 kB
  • sloc: cpp: 18,138; sh: 780; ansic: 347; makefile: 226; python: 55
file content (14 lines) | stat: -rwxr-xr-x 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#

. $srcdir/test-subs.sh

# create PDFs for all of the pcap files
for i in $DMPDIR/*.pcap
do
  echo $i
  cmd "$TCPFLOW -Fg -e netviz -o tmp$$ -r $i"
  cmd "mv tmp$$/report.pdf `basename $i .pcap`.pdf"
  echo ""
  /bin/rm -rf tmp$$ test?.pdf
done