---
name: "pcapmerge"
section: "1"
platform: "linux"
package: "tcpreplay"
version: "2.3.3-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/pcapmerge"
---

# pcapmerge(1)

merge multiple pcap files into one larger one

## NAME

pcapmerge - merge multiple pcap files into one larger one

## SYNOPSIS

**pcapmerge** \[ **-V** \] \[ **-h** \] **-o** *outfile* pcap1 pcap2 ...\

## DESCRIPTION

*Pcapmerge* is a program for creating a single pcap (tcpdump) file from two or more pcap files.  The resulting file contains the packets from each of the source pcap files in the order they are specified on the command line.

## OPTIONS

- **-h**

  Help

- **-o \<file\>**

  Output filename.  The name of the file to write.

- **-V**

  Print version info and exit.

## SEE ALSO

[tcpdump(8)](/tcpdump/8.md), [tcpreplay(8)](/tcpreplay/8.md), [capinfo(1)](/capinfo/1.md)

## AUTHOR

Matt Bing

The current version is packaged with tcpreplay which is available via HTTP:

*http://www.sourceforge.net/projects/tcpreplay/*
