ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] Trouble converting .pcap file to XML (pdms) via command li

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Nov 2010 12:18:59 -0700
On Thu, Nov 11, 2010 at 02:37:27PM -0500, Sean Sparacio wrote:

> I can think of to convert a given .pcap file to XML in pdms format.  
> None of them work, at all.  In addition, I can't seem to successfully 
> redirect the standard output to a file at all, no matter what.

Try this:

  tshark -r c:\capture.txt -T psml > c:\capture.xml