#!/bin/sh
for file in `\find . -name '*.pcapng'`; do
tshark -r $file -Y “tcp and wlan.ta == 00:00:00:0a:00:00 ” -T fields -E separator’,’ -e frame.time_relative -e wlan.seq —e tcp.seq -e radiotap.datarate -e radiotap.mcs.index -e radiotap.channel.type > $file-1.csv
tshark -r $file -Y “tcp and wlan.ra == 00:00:00:0a:00:00 ” -T fields -E separator’,’ -e frame.time_relative -e wlan.seq -e tcp.seq -e radiotap.datarate -e radiotap.mcs.index -e radiotap.channel.type > $file-2.csv
done
read wait
findコマンドを使ってみました。