Skip to content

burnumd/slack-delete-files

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-delete-files npm version Maintainability Test Coverage

Mass delete files from Slack using JavaScript.

Running slack-delete-files on terminal

Because Slack comes with limited file storage and there's no way to bulk delete files using the web interface in order to free up space. (Source)

Install

⚠️ Make sure you have Node.js 8+ installed.

$ npx slack-delete-files

This installs it globally so you can use it from anywhere in your computer.

Usage

$ slack-delete-files

A Slack API token is required. Grab yours in Slack API docs!

Features
  • Can keep recent files, deleting only files older than 30 days.
  • Can keep pinned files.
Limitations
  • Cannot delete files sent privately.
  • Deletes up to 1000 files per execution.

License

MIT

About

💣 mass delete files from Slack using JavaScript.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%