Improvements on filtering snapshots

Hi again :wave:

While I was trying to do some quick-tagging operations, I had to do some command line magic to get the “oldest” snapshot each host has. Initially thought “oh what if --latest flag is accepting negative numbers” but sadly it was not the case.

Before suggesting this as a feature request, I wanted to ask if I am missing anything obvious and if it’s already possible or not.

As a second thought, maybe filtering by date would be also beneficial (e.g. flags like --older/newer-than 7d), which I am basically handling by processing JSON output currently.

I don’t think there’s an easy way to get the oldest snapshot per host.

Pipe the output to tac aka cat, but reverse