Ethereal-users: Re: [Ethereal-users] Merging many files

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Tue, 31 Aug 2004 19:21:25 +1000
If all files ending with .cap are to be merged :

mergecap -w bigfile.cap *.cap

If all files matching the regexp FOOBAR are to be merged :

mergecap -w bigfile.cap `ls FOOBAR`

etc

the unix command line is your friend.



On Mon, 30 Aug 2004 17:42:06 -0400, Ian Schorr  wrote:
> Caesar
> 
> Mergecap supports merging many files at the same time, so you shouldn't
> need to run it for each file that you need to merge.  There is,
> however, potentially a large amount of typing that you'd need to do.
> =)
> 
> You should be able to write a simple program to simply take a series of
> files and merge them into a single file.  I eventually wrote a simple
> GUI that I use to handle this for me, but I also wrote a script at one
> point that would simply take a wildcard as a command-line parameter and
> attempt to merge all matching files into a single output file.
> 
> Ian
> 
> 
> 
> On Aug 29, 2004, at 8:10 PM, César Cárdenas wrote:
> 
> > Hi:
> >
> > I've captured many files (more than 200) with Ethereal for Windows and
> > now
> > I would like to merge them...I already reviewed the mergecap.exe
> > documentation
> > but still a much time-consuming activity.
> >
> > http://www.ethereal.com/docs/man-pages/mergecap.1.html
> >
> > Do you know any other way for merging many files?
> > I am thinking in a little C/C++ program...any suggestions about special
> > functions?
> >
> > Many thanks for your help,
> > César Cárdenas
> >
> > _______________________________________________
> > Ethereal-users mailing list
> > Ethereal-users@xxxxxxxxxxxx
> > http://www.ethereal.com/mailman/listinfo/ethereal-users
> >
> >
> 
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>