ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Query on loading packets using command line options

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2008 07:39:03 -0800
j.snelders@xxxxxxxxxx wrote:
> Hi Atdev,
> 
> You can ust the pipe sign | , but this will start Wireshark twice.
> wireshark -r packet1.pcap | wireshark -r packet2.cap
> 
> 
> Or you can create file sets.
> Rename your files like this:
> packet1_00000_20081217000000.pcap
> packet1_00001_20081217000000.pcap
> 
> Start Wireshark and load on of the files.
> Got to File -> File Set -> List Files
> Load the other file by selecting it.
> 
> Somehow this won't work by using the command line to start Wireshark.

Does this work?

mergecap -w - file1.pcap file2.pcap | wireshark -k -i -