require Golang environment and setup GOPATH.
$ go get github.com/m4kvn/slack-filesave
set user slack api token.
$ slack-filesave -token=xxxxxx-xxxxxxxxx -type=image
name | description | default | require |
---|---|---|---|
token | your slack api token | true | |
type | filter file type | all | |
before | filter file by timestamp (older than) | now | |
private | include private files | false | |
delete | delete downloaded file from slack | false |