slackdump icon indicating copy to clipboard operation
slackdump copied to clipboard

Ability to exclude channels or types of channel

Open damccull opened this issue 3 months ago • 4 comments

Is your feature request related to a problem? Please describe. Currently when exporting a workspace, it includes all the DMs as the user who logged in. I would like to be able to easily choose only non-DM channels.

Describe the solution you'd like There should either be an option to choose which channels to exclude, taking all others by default, or an option to choose only channels of a particular type or types. i.e. selecting 'only public channels', or 'only public and private channels', etc.

Describe alternatives you've considered Currently I slackdump list channels, remove all the extra info that isn't an ID starting with C, and copy/paste the IDs into the wizard or CLI archive command.

Additional context

damccull avatar Sep 17 '25 17:09 damccull

You can use the combination of:

$ slackdump list channels -b | grep -v 'D.*' > non-dms.txt
$ slackdump archive @non-dms.txt

rusq avatar Sep 20 '25 15:09 rusq

But you are right, it would be much easier to choose which type of channel you want to archive, I'll leave this open till this is implemented.

rusq avatar Sep 20 '25 15:09 rusq

Thanks. The command you gave will work for me in the interim. I appreciate the response.

damccull avatar Sep 21 '25 09:09 damccull

There are also "mpdm-" when you had a chat with a couple of other people

mpdm-eric--danny.adair--ben-1

dannyadair avatar Sep 21 '25 12:09 dannyadair