Wireshark mailing list archives

Re: merging many files using mergecap


From: "Boonie" <newsboonie () gmail com>
Date: Sun, 21 Feb 2010 20:37:21 +0100

Thanks Olivier,

That does the job. It took me hours with finding a sollution. Thanks a lot. 
This is much better than doing it by hand.

If anyone can think of a way to solve this with a batch file, I'd like to 
hear that too.

Dave


----- Original Message ----- 
From: "wsgd" <wsgd () free fr>
To: "Community support list for Wireshark" <wireshark-users () wireshark org>
Sent: Sunday, February 21, 2010 8:20 PM
Subject: Re: [Wireshark-users] merging many files using mergecap


Solution 1 (depending on windows version/configuration) :
Into a cmd window : mergecap -w output.pcap        <NO return>
Then select all  *.pcap you want and drag and drop on the cmd window.

Solution 2 :
Create a shorcut of mergecap.
Add in target " -w output.pcap".
Change the starting directory to <what you want> if necessary.
Then select all  *.pcap you want and drag and drop on the shorcut.


Olivier

Boonie a écrit :
I often need to merge 40 to 60 .PCAP files in windows. I've tryed
"mergecap *.pcap -w output.pcap" but the wildcard is not accepted.
I've googled and can not find a sollution.

I've also tryed to create a batch file. No luck.

Does anyone know of a sollution to merge all .PCAP files in a directory?

Thanks,

Dave

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: