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

I have thousands of pcap file 100M each which contains the data i need transferred from my device by UDP protocol. I can use 'follow udp stream command' in the wireshark desktop manually and save it into a raw file one by one, and later further coding with python, but that would be very time consuming.

Is there any way i can using batching/script to save all the pcap files into raw data files automatically?

Much appreciated!

asked 10 Jul '17, 19:32

tree0520's gravatar image

accept rate: 0%

Yes, create a script that feeds the capture files to tshark and pass it the command line option -z "follow,udp,...". See the manual for more details.

permanent link

answered 10 Jul '17, 22:26

Jaap's gravatar image

Jaap ♦
accept rate: 14%

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: 10 Jul '17, 19:32

question was seen: 1,494 times

last updated: 13 Jul '17, 22:42

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