2021-10-19 23:26:37 +00:00
include::../docbook/attributes.adoc[]
2021-06-18 10:20:51 +00:00
= captype(1)
:doctype: manpage
:stylesheet: ws.css
:linkcss:
:copycss: ../docbook/{stylesheet}
2018-08-17 18:34:57 +00:00
2021-06-18 10:20:51 +00:00
== NAME
2013-12-13 02:59:16 +00:00
captype - Prints the types of capture files
2021-06-18 10:20:51 +00:00
== SYNOPSIS
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
[manarg]
*captype*
2021-10-13 21:56:43 +00:00
[ *-h* ]
[ *-v* ]
2021-06-18 10:20:51 +00:00
<__infile__>
__...__
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
== DESCRIPTION
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
*Captype* is a program that opens one or more capture files and
prints the capture file type of each <__infile__>.
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
*Captype* is able to detect and read the same capture files that are
supported by *Wireshark*.
2013-12-13 02:59:16 +00:00
The input files don't need a specific filename extension; the file
2021-08-19 12:48:52 +00:00
format and an optional gzip, zstd or lz4 compression will be automatically detected.
2021-06-18 10:20:51 +00:00
Near the beginning of the DESCRIPTION section of xref:wireshark.html[wireshark](1) or
https://www.wireshark.org/docs/man-pages/wireshark.html
is a detailed description of the way *Wireshark* handles this, which is
the same way *Captype* handles this.
2013-12-13 02:59:16 +00:00
2021-10-13 21:56:43 +00:00
== OPTIONS
-h|--help::
+
--
Print the version number and options and exit.
--
-v|--version::
+
--
Print the full version information and exit.
--
2021-12-26 17:35:37 +00:00
include::diagnostic-options.adoc[]
2021-06-18 10:20:51 +00:00
== SEE ALSO
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
xref:https://www.tcpdump.org/manpages/pcap.3pcap.html[pcap](3), xref:wireshark.html[wireshark](1), xref:mergecap.html[mergecap](1), xref:editcap.html[editcap](1), xref:tshark.html[tshark](1),
xref:dumpcap.html[dumpcap](1), xref:capinfos.html[capinfos](1), xref:https://www.tcpdump.org/manpages/pcap-filter.7.html[pcap-filter](7) or xref:https://www.tcpdump.org/manpages/tcpdump.1.html[tcpdump](8)
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
== NOTES
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
*Captype* is part of the *Wireshark* distribution. The latest version
of *Wireshark* can be found at https://www.wireshark.org.
2013-12-13 02:59:16 +00:00
2021-10-01 02:39:09 +00:00
HTML versions of the Wireshark project man pages are available at
2021-06-18 10:20:51 +00:00
https://www.wireshark.org/docs/man-pages.
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
== AUTHORS
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
.Original Author
[%hardbreaks]
Ian Schorr <ian[AT]ianschorr.com>
2013-12-13 02:59:16 +00:00
2021-06-18 10:20:51 +00:00
.Contributors
[%hardbreaks]
Gerald Combs <gerald[AT]wireshark.org>
Jim Young <jyoung[AT]gsu.edu>