How can I set the path setting for the preferences file on tshark as can be done with the -P wireshark flag ? I want to be able to specify on a tshark command line which preferences file to use. asked 01 Aug '13, 07:00 DarrylHymel |
One Answer:
You cannot, as that functionality is not implemented in tshark. If you want to have that functionality, please file an enhancement request. In the meantime, you can only copy the personal profile directories from your personal path to the global profile directory of the user (%APPDATA%\Wireshark\profiles) and then select that profile with tshark option -C. However, that will only affect the profiles, not the preferences :-( Or you create several batch files (as I did) for this purpose and you switch everything you need with those batch files, by copying everything to the user Wireshark directory, or by creating a junction (see mklink on Windows) for the global preferences directory (%APPDATA%\Wireshark).
while c:\wireshark\template_1 contains your preferences, profiles, etc. Regards answered 08 Aug '13, 07:02 Kurt Knochner ♦ |