This is our old Q&A Site. Please post any new questions and answers at

There're multiple pcap files, I want to use tshark to dissect them at one time, how to config the input parameters?

asked 13 Jan '14, 21:46

metamatrix's gravatar image

accept rate: 100%

I don't see how with tshark alone this can be achieved but you could run a mergecap before and then process the resulting file.

mergecap -w merged.pcapng  trace* 
tshark -r merged.pcapng "tcp.analysis.flags"
permanent link

answered 14 Jan '14, 01:00

mrEEde's gravatar image

accept rate: 20%

Thank you, mrEEde. I think mergecap is what I need, I just want a single output file with multiple input.

(14 Jan '14, 18:34) metamatrix

see the answers to the following questions for a scripted solution

Linux (and other Unix like systems)



permanent link

answered 14 Jan '14, 06:56

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

edited 14 Jan '14, 07:07

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 13 Jan '14, 21:46

question was seen: 8,832 times

last updated: 14 Jan '14, 18:34

p​o​w​e​r​e​d by O​S​Q​A