Hi Minli. Based on the doc and my experience, the export to csv is specific to each individual tab. (tabcmd Commands ). So if you want to export multiple tabs, then you can do multiple tabcmd exports (one for each tab).
For the double password prompt, try changing the tabcmd login and export to look something like this and see if this helps.
tabcmd login --server https://tableau.abc.net --username username --password password --site "services" --timeout 1800
tabcmd export "fileactiveusers/activeusers" --csv -f "activeusers.csv" --password password --timeout 1800
Thank you so much for the script, it works!!
As for the first question, what I want to do is export all data from a tab with multiple containers/tables. With this script, i am able to export only data for the first container.