-
Notifications
You must be signed in to change notification settings - Fork 0
minio manage using mc in console
in portainer, log onto console for s3
mc alias set local http://localhost:9000 ACCESS SECRET
mc alias ls
mc ls --summarize local/gleaner-wf/summoned/ssdbiodp
mc rm local/dvtest/summoned/geocodes_demo_datasets --older-than 30d -r --dangerous --dry-run --force
mc rm local/dvtest/summoned/ local/dvtest/milled/ local/dvtest/prov/ --older-than 30d -r --dangerous --dry-run --force
https://min.io/docs/minio/linux/reference/minio-mc/mc-find.html#find-objects-with-matching-metadata
mc find --metadata="X-Amz-Meta-Url=https://raw.githubusercontent.com/earthcube/GeoCODES-Metadata/main/metadata/Dataset/allgood/argo-20220707.json" local/dvtest/summoned/
lifecycle: (base) valentin@MacBook-Pro-9 ~ % mc ilm rule ls geocodes-aws/decoder ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Expiration for latest version (Expiration) │ ├──────────────────────┬─────────┬───────────────────────────────────────┬──────┬────────────────┬─────────────────────┤ │ ID │ STATUS │ PREFIX │ TAGS │ DAYS TO EXPIRE │ EXPIRE DELETEMARKER │ ├──────────────────────┼─────────┼───────────────────────────────────────┼──────┼────────────────┼─────────────────────┤ │ csv2tqjok4ts73a9dm7g │ Enabled │ scheduler/logs │ - │ 90 │ false │ │ csv2tv3ok4ts73a9dm80 │ Enabled │ graphs/archive │ - │ 180 │ false │ │ csv2ucrok4ts73a9dm8g │ Enabled │ milled │ - │ 14 │ false │ │ csv33vbok4ts73a9dm90 │ Enabled │ decoder/reports/*/bucketutil_urls.csv │ - │ 90 │ false │ └──────────────────────┴─────────┴───────────────────────────────────────┴──────┴────────────────┴─────────────────────┘