1REORDERCAP(1)           The Wireshark Network Analyzer           REORDERCAP(1)
2
3
4

NAME

6       reordercap - Reorder input file by timestamp into output file
7

SYNOPSIS

9       reordercap [ -n ] [ -v ] <infile> <outfile>
10

DESCRIPTION

12       Reordercap is a program that reads an input capture file and rewrites
13       the frames to an output capture file, but with the frames sorted by
14       increasing timestamp.
15
16       This functionality may be useful when capture files have been created
17       by combining frames from more than one well-synchronised source, but
18       the frames have not been combined in strict time order.
19
20       Reordercap writes the output capture file in the same format as the
21       input capture file.
22
23       Reordercap is able to detect, read and write the same capture files
24       that are supported by Wireshark.  The input file doesn't need a
25       specific filename extension; the file format and an optional gzip
26       compression will be detected automatically.  Near the beginning of the
27       DESCRIPTION section of wireshark(1) or
28       <https://www.wireshark.org/docs/man-pages/wireshark.html> is a detailed
29       description of the way Wireshark handles this, which is the same way
30       reordercap handles this.
31

OPTIONS

33       -n  When the -n option is used, reordercap will not write out the
34           output file if it finds that the input file is already in order.
35
36       -v  Print the version and exit.
37

SEE ALSO

39       pcap(3), wireshark(1), tshark(1), dumpcap(1), editcap(1), mergecap(1),
40       text2pcap(1), pcap-filter(7) or tcpdump(8)
41

NOTES

43       Reordercap is part of the Wireshark distribution.  The latest version
44       of Wireshark can be found at <https://www.wireshark.org>.
45
46       It may make sense to move this functionality into editcap, or perhaps
47       mergecap, in which case reordercap could be retired.
48
49       HTML versions of the Wireshark project man pages are available at:
50       <https://www.wireshark.org/docs/man-pages>.
51

AUTHORS

53         Original Author
54         -------- ------
55         Martin Mathieson             <martin.r.mathieson[AT]googlemail.com>
56
57
58
593.0.5                             2019-10-30                     REORDERCAP(1)
Impressum