Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Using Mergecap??

From: Sake Blok <sake@xxxxxxxxxx>
Date: Mon, 21 Sep 2009 08:09:43 +0200
On Fri, Sep 18, 2009 at 12:08:56PM -0500, Gaudineer, Kevin wrote:
> Just curious if I did the wrong thing here.  I used dumpcap to 
> do an unattended capture.  After performing the unattended capture 
> I have several files that I would like to merge together.  But 
> these file names are long.  Is there a way to use mergecap with 
> wild cards or should I just bite the bullet and rename all of 
> the files with a shorter name?

You can use wildcard filesnames if your shell supports it. It is the
shell that expand the wildcard names and then passes the result to
mergecap.

I use something like "mergecap -w outfile.cap prefix*.cap" a lot :-)

Cheers,
    Sake