Skip to content

mattstabeler/slack-file-delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Delete files from slack

The script automatically deletes your most recent 50 files, older than 10 days.

Setup

Give execute permissions to the file deleteoldfiles.py

chmod +x deleteoldfiles.py

Get a Legacy token for your workspace here: https://api.slack.com/custom-integrations/legacy-tokens

Create secrets.conf with your token

[slack]
token : slacktokenxxxxxx

Run

In terminal run the following command

./deleteoldfiles.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages