Files
vms/cache-restore.sh
T

6 lines
183 B
Bash
Raw Normal View History

2024-06-21 16:23:24 -05:00
mc alias set storage "$STORAGE_URL" root "$MINIO_SECRET"
for f in $(mc ls --json storage/isos/cache | jq '.key' | tr -d '"'); do
mc get -q "storage/isos/cache/$f" "./cache/$f"
done