slack-cleaner icon indicating copy to clipboard operation
slack-cleaner copied to clipboard

delete all messages from all channels older than certain date

Open agilangovan opened this issue 7 years ago • 5 comments

I am trying to delete all messages from all channels/groups for all users before a certain date. How would I modify this command to achieve that?

slack-cleaner --token <TOKEN> --message --channel general --user "*" --before 20180424

Thank you.

agilangovan avatar May 24 '18 19:05 agilangovan

@agilangovan you must add '--perform' to the end.

cindy-ho avatar May 27 '18 16:05 cindy-ho

But is it possible to target all channels?

mstawick avatar Oct 12 '18 14:10 mstawick

And it is not possible to remove "RSS Feed messages". It simply cannot find them.

qw3r3wq avatar Oct 22 '18 14:10 qw3r3wq

And it is not possible to remove "RSS Feed messages". It simply cannot find them.

need to add --bot

qw3r3wq avatar Oct 25 '18 09:10 qw3r3wq

Do we have this option to delete from all channels?

pedro380085 avatar May 07 '21 05:05 pedro380085