https://github.com/rssnyder/minio-lifecycle
minio-lifecycle
https://github.com/rssnyder/minio-lifecycle
Last synced: about 1 year ago
JSON representation
minio-lifecycle
- Host: GitHub
- URL: https://github.com/rssnyder/minio-lifecycle
- Owner: rssnyder
- Created: 2020-07-09T19:10:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T21:04:00.000Z (almost 6 years ago)
- Last Synced: 2025-06-03T01:53:45.792Z (about 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minio-lifecycle
minio-lifecycle
Lifecycle your minio bucket for objects older than X days.
# Build
Install go.
`make build`
# Usage
`./minio-lifecycle -server http://: -key "" -secret '' -bucket '' -days `
Example (deleting objects older than a week):
`./minio-lifecycle -server http://10.0.0.10:9768 -key "xxxxxxxxxxxxxxxx" -secret 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' -bucket 'dump' -days 7`