The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
274 B

  1. #!/bin/bash
  2. THISDIR=$(cd $(dirname ${0}) && pwd)
  3. VCURL=${THISDIR}/vcurl
  4. SNAPSHOT_FILTER=${1?no snapshot filter provided}
  5. for snap in $(${VCURL} snapshot/list | jq -r '.[].description' | grep "${SNAPSHOT_FILTER}") ; do
  6. ${THISDIR}/vultr_delete_snapshot.sh "${snap}"
  7. done