How to list snapshots without a specific tag?

I would like to get a list of snapshots without a specific tag. Is that possible?

Like:

restic snapshots --tag "!dogs"
restic snapshots --without-tag "dogs"

and combining:

restic snapshots --tag "animals" --without-tag "dogs"
1 Like

To do this you will need to write a script which processes the output of the “restic snapshots” command. To list snapshots with the tag “animals” you are correct that "restic snapshots --tag “animals” will do that but there is no --without-tag.
There is an option --json which will produce json output which could be processed by jq.