[Index]
Both Users and Channels dump modes support the following flags:
-format
- sets the output format, can betext
,json
orcsv
. Default istext
.-o
- optional flag to set the output filename. If output filename is not specified, the Users or Channels will be printed on the screen.-q
- quiet mode, suppresses all output except errors.
To view all users, run:
slackdump list users
In this case, the users will not be cached. This flag works with both generic dump and Slack Export modes.
To view all Conversations, that are visible to your account, including group conversations, archived chats and public channels, run:
slackdump list channels
If the user list in your Slack Workspace is too large, you can skip the
caching of users by specifying the -no-user-cache
flag:
slackdump list channels -no-user-cache
The output may look like this:
2021/10/31 17:32:34 initializing... 2021/10/31 17:32:35 retrieving data... 2021/10/31 17:32:35 done ID Arch Saved What CHXXXXXXX - - #everything CHXXXXXXX - - #everyone CHXXXXXXX - - #random DHMAXXXXX - - @slackbot DNF3XXXXX - - @alice DLY4XXXXX - - @bob
Please note, that if your Workspace contains a large amount of channels, the channel listing will take a long time to run.
The Slack Worskpace of 20,000 channels takes around 1 hour to retrieve the channel information from Slack. Why? Because Slack rate limits are tough, and even adhering to those limits may get you rate limited.
[Index]