The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

vultr_delete_snapshots.sh 422 B

123456789101112
  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. THISDIR=$(cd $(dirname ${0}) && pwd)
  6. VCURL=${THISDIR}/vcurl
  7. SNAPSHOT_FILTER=${1?no snapshot filter provided}
  8. for snap in $(${VCURL} snapshot/list | jq -r '.[].description' | grep "${SNAPSHOT_FILTER}") ; do
  9. ${THISDIR}/vultr_delete_snapshot.sh "${snap}"
  10. done