Ask Your Question

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

asked 2019-08-08 07:12:05 +0000

Ross Jacobs gravatar image


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.


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


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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-08 07:31:38 +0000

Stig gravatar image

The -C option requires a profile name, not a path. Try with one of your existing profile names created in Wireshark.

edit flag offensive delete link more


Cheers for the quick response. I had a feeling it was something simple.

Ross Jacobs gravatar imageRoss Jacobs ( 2019-08-08 07:48:18 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-08-08 07:12:05 +0000

Seen: 646 times

Last updated: Aug 08 '19