Thanks. Maybe this is another question: I wrote a script to deal with multiple files as follows:
if only 1 file in the datadir, i got one output file, but it fails if the files in datadir more than one. Here is the message from system: tshark: Read filters were specified both with "-R" and with additional command-line arguments Have i done something wrong? Thanks for any hint. asked 13 Jul '17, 19:24 tree0520 converted to question 13 Jul '17, 22:42 Jaap ♦ |
One Answer:
I guess your for loop is wrong: the file variable contains a list of all files. Better run:
Furthermore, when calling tshark with '-R' you also have to use '-2' or use single-pass filtering with '-Y' answered 14 Jul '17, 04:14 Uli Well, as for me, the correct syntax would be
or
(14 Jul '17, 08:46) sindy |
Your answer has been converted to a question as that's how this site works. Please read the FAQ for more information.