A script to purge old slugs from a datastore. In reality, salt-shaker is flexible enough to purge the oldest
--max entries from a given datastore; regardless of whether or not it is a slug.
npm install -g salt-shaker to install salt-shaker, and put it in your PATH.
salt-shaker --help can be used for a comprehensive list of available commands and options. Below are some usage examples:
salt-shaker s3 --access-key-id AWS_ACCESS_KEY_ID --secret-access-key AWS_SECRET_ACCESS_KEY --prefix my-app --bucket slugs --max 5
Please feel free to contribute by opening issues and creating pull requests!