Hello, I am using some Configuration Profiles with tshark to automate some testing. We want to store the config profiles in source control (Git). When I copy the profile folders from their original directory into our Git directory, tshark is unable to find them when specifying the full path. This is what we want to accomplish:
However it generates this error:
The command below works, but I am assuming is is using the original profile that is in my User directory.
How do I specify the path to a Configuration Profile when using tshark? asked 12 Apr '16, 06:51 bakerbug |
2 Answers:
You can accomplish this by setting
Refer to the very first documented environment variable in the tshark man page for more details. answered 12 Apr '16, 07:45 cmaynard ♦♦ |
Not sure if this can be done - I guess tshark is always looking into your user directory. Wireshark.exe has a command line parameter to specify the config directory like this:
But for tshark, -P is already taken. So I don't think it's possible at the moment. Maybe open a bug report at https://bugs.wireshark.org and file a feature request. answered 12 Apr '16, 07:02 Jasper ♦♦ |
This method works! However, one thing to note is that the profiles must be stored in a directory called 'profiles' otherwise they won't be found. I was originally going to store them in a directory with a more descriptive name, but that is an easy thing to give up.