Does tshark has an equivalent option of tcpdump [ -z postrotate-command ]
I would like to use tshark capture packets with rotated files infinitely, after each rotated file is finished, I want to tshark to run post rotation command to upload the rotated file to remote for analysis due to limited local storage.
I read tshark man https://www.wireshark.org/docs/man-pa... but it seems there is no equivalent option of tcpcump [ -z postrotate-command ]
.
Can I achieve the goal using tshark
?