#!/usr/bin/bash BASENAME='root34' MAX_EMU=10 for i in $(seq 1 "${MAX_EMU}"); do avdmanager delete avd --name "${BASENAME}-${i}" done