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

Is there a way to take a already captured file (like 150mb) and turn it into several smaller files that are easier to manage?

asked 17 Nov '11, 08:48

gtefft's gravatar image

gtefft
1112
accept rate: 0%


Yes, you can slice it into smaller files using editcap -c 100000 <infile.pcap> <outfile.pcap>, which will slice the infile.pcap in multiple files with 100,000 frames each (or any other number you put in there). editcap is installed together with the wireshark executable.

As long as you can load the file into Wireshark you might also save partial files using the "save as" option, and use the "Packet Range" pane to set the boundaries, for example a range like "1-100000", followed by "100001-200000", etc.

permanent link

answered 17 Nov '11, 08:53

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

edited 17 Nov '11, 08:54

thanks so much

(17 Nov '11, 09:23) gtefft
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×9
×5

question asked: 17 Nov '11, 08:48

question was seen: 7,242 times

last updated: 17 Nov '11, 09:36

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