Docker Image for Slack Files Delete
492
This image use a Python script developed by @technmsg with little modifications. It's usefull if you don't have python on your PC and loves Docker.
Before starting you need create a Legacy Token.
$ docker run -it --rm gustajz/slack-cleanup -h
usage: slack_delete.py [-h] -t TOKEN [-d DAYS] [-c COUNT]
optional arguments:
-h, --help show this help message and exit
-t TOKEN, --token TOKEN
Specifies the OAuth token used for authentication,
created at (https://api.slack.com/custom-
integrations/legacy-tokens)
-d DAYS, --days DAYS Delete files older than x days (optional)
-c COUNT, --count COUNT
Max amount of files to delete at once (optional)
$ docker run -it --rm gustajz/slack-cleanup --token YouSlackAPIToken --days 20
Content type
Image
Digest
Size
32.6 MB
Last updated
about 8 years ago
docker pull gustajz/slack-cleanup