hetznercloud / cli

A command-line interface for Hetzner Cloud
MIT License
1.09k stars 79 forks source link

Deleting snapshot? #250

Closed nosecam closed 4 years ago

nosecam commented 4 years ago

More a question than an issue... I am using scheduler on windows to automatically creating snapshots

e.g.: set HCLOUD_TOKEN=xxxxx hcloud server create-image --type "snapshot" yyyyyyyy unset HCLOUD_TOKEN

I would like to delete snapshots after a certain period of time. But it looks like there is no "delete-image"? Also "older-than" would be helpful :-) Best

LKaemmerling commented 4 years ago

You can delete images with hcloud image delete <ID>