# Revision history [back]

Only gzip compressed files are supported.

https://www.wireshark.org/docs/man-pages/tshark.html

-r|--read-file <infile>
Read packet data from infile, can be any supported capture file format (including gzipped files).


https://www.wireshark.org/docs/man-pages/wireshark.html

There is no need to tell Wireshark what type of file you are reading; it will determine the file type by itself. Wireshark is also capable of reading any of these file formats if they are compressed using gzip. Wireshark recognizes this directly from the file; the '.gz' extension is not required for this purpose.