Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. doctl compute volume list -o json | jq -c '.[] | select(.droplet_ids | length == 0) | [.id, .name]' | egrep "vol[0-9]+-[0-9]+" | jq '[.[]][0]' | xargs -i doctl compute volume rm {} -f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement