Wireshark mailing list archives

Re: tshark not saving file in pdml format ...


From: Christopher Maynard <Christopher.Maynard () gtech com>
Date: Mon, 22 Oct 2012 15:52:47 +0000 (UTC)

Albretch Mueller <lbrtchx@...> writes:

$ date; sudo tshark -i eth0 -a duration:10 -b filesize:1024 -b
files:10 -T pdml -w
/media/sdb1/prjx/kd/java/net/hc/root_test/test00.pdml
 how can I fix that?

tshark -i eth0 -T pdml > test00.xml


From the tshark man page[1]:

NOTE: -w provides raw packet data, not text. If you want text output you need to
redirect stdout (e.g. using '>'), don't use the -w option for this.

[1]: http://www.wireshark.org/docs/man-pages/tshark.html


___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: