[[ $# -ne 1 ]] && \ die "usage: $0 " [[ -d $1 ]] || \ die "$1 is not a directory" btrfs subvolume delete $1 || die "btrfs subvolume delete failed"