Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

tshark -C $profile produces "Configuration Profile does not exist"

Description

I am trying to use a different profile with tshark and have had difficultiy in getting it to work. I get a Configuration Profile does not exist error when specifying the Personal Configuration with -C on Windows/Linux/Macos. I find the Configuration's path by going to Wireshark > About > Folders (And Wireshark > Wireshark > About > Folders on Macos). I have verified that this folder exists on each OS. Changing profiles in Wireshark works fine.

Examples

Linux (v2.6.8)

rj@vmbuntu:/tmp$ tshark -C "/home/rj/.config/wireshark"
tshark: Configuration Profile "/home/rj/.config/wireshark" does not exist

Macos (v3.0.3)

bash-5.0$ tshark -C /Users/rj/.config/wireshark
tshark: Configuration Profile "/Users/rj/.config/wireshark" does not exist

Windows (v3.0.0)

PS C:\Program files\Wireshark> ./tshark -C "C:\Users\rj\AppData\Roaming\Wireshark"
tshark: Configuration Profile "C:\Users\rj\AppData\Roaming\Wireshark" does not exist

Question

Why does tshark have an error when reading a profile when Wireshark does not? What am I missing?