Hi, If i want to copy multiple rows to textfile ctrl or shift pressed in doesn't work. what is the easiest way to copy specific rows to a textfile? asked 16 Jul '12, 04:43 Ivan |
One Answer:
Mark the packtes (CRTL-M) you need, then print them to a text file:
Select the following options:
Then open the output file in an editor. Alternatively, you can use tshark
See Regards answered 16 Jul '12, 05:06 Kurt Knochner ♦ showing 5 of 10 show 5 more comments |
Works fine. But is that really the "easiest way"? That would be ridiculous, why can't you just select everything (with something like ctrl+a, shift+arrows, mouse, ...) and press ctrl+c?
because it is not yet implemented ;-)
And implimenting it isn't trivial.
@Anders: But it looks like a trivial GUI thingy
It's probably 'easy' for the currently selected packet, as there is already such a function, just not available via CTRL-C (windows).
That's not the full packet detail, but that could be made a configurable option. So, implementing that would be 'quite easy'.
However: I don't know how hard it would be to implement 'multi-select' in the packet list view?
Can anyone of the GTK experts please jump in?
Feel free to implement it :-)
I know this is an older post but I was wondering if anyone had found a workaround to the hours spent: - Right-click - Copy - ...as Printable Text ...when you have hundreds (maybe thousands) of packets to copy as printable text and dump into a text editor. Thanks
Have you tried:
File / Export Packet Dissections / as "Plain Text" File
I did try that, and print as plain text. The problem is that it is SNMP and I do not need to SNMP long-form OID info that is displays. I need the Human Readable Alarm Data that is shown when you right-click on a packet, Copy, ....as Printable Text.
Here is what printing packet dissections of 49 sorted packets produces...I just show one:
Doing a Right-Click, Copy, ...as Printable Text, and then pasting into NotePad++, produces this:
I need the 4th and 7th lines in this output, although it is not always in the same line. I have thousands of packets to parse and capture in this way and strip away what I will call "the noise" and then use that data. Just the ability to perform a mass copy as printable text and dump into Notepad would save me a great deal of time.
All the recent "answers" have been converted to a comments as that's how this site works. Please read the FAQ for more information.
@Lars,
Attempting to parse Wireshark dissection of SNMP traffic seems to be an awfully long winded of going about this. Why not use an SNMP application to issue the specific SNMP requests you require and output the returned data in the format you require?