#!/bin/bash

for bucket in `mc ls hot --json | jq -r .key | grep -e nuage -e nextcloud | grep -v nuage-liiib-re`; do
    mc ilm import hot/$bucket < ./policy/ilm-nc.json
done
