Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Convert Pcap file to text using command line

From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Wed, 30 Jul 2008 20:31:29 +0400
Hi Sumant,

Have a look at the tshark man page
(http://www.wireshark.org/docs/man-pages/tshark.html) and see the
description of the -T argument. You can try the various formats to see
which ones suits your needs.

HTH
Abhik.

On Wed, Jul 30, 2008 at 3:50 PM, Sumant Gupta <sumant.gupta@xxxxxxxxxxx> wrote:
>
>
> Hi
>
> I want to convert the pcap file that I captured using wireshark to text file
>
> From command line, since i want to analyze the captured file(pcap file )
>  within my python program.
>
> I don't want to export the pcap file to text file using GUI
>
> i.e File>export->file->convert to text
>
> Instead I want to invoke this from python program, preventing manual
> interference
>
>
>
> Looking forward for your response
>
>
>
> Regards
>
> Sumant Gupta
>
> Software Engineer
>
> Ext:5105
>
>
>
> ________________________________
> "DISCLAIMER: This message is proprietary to Aricent and is intended solely
> for the use of the individual to whom it is addressed. It may contain
> privileged or confidential information and should not be circulated or used
> for any purpose other than for what it is intended. If you have received
> this message in error,please notify the originator immediately. If you are
> not the intended recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents of this
> message. Aricent accepts no responsibility forloss or damage arising from
> the use of the information transmitted by this email including damage from
> virus."
>
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-users
>
>