1 2 3 4 5 6 7 8 9 10
#!/bin/bash set -e set -u set -o pipefail doctl compute droplet list innisfree --no-header --format ID \ | tail -n +2 \ | xargs -r -P5 -n1 doctl compute droplet delete -f