Restic timeframe snapshots

At present the output of restic snapshots giving an complete dump of snapshots.

What if I want the output of just 6 months say June 24 to Dec 24?
Doable with grep :blush:

What if snapshots had a sub command --time-begin 2024-06-01 --time-end 2024-12-31 ?

Regards,
Savio

Hmm. Un*x philosophy says the grep method is actually the way to go. If you want more control, you might also consider JSON output and combine that with a JSON tool like jq.

But that is just my take. I kinda like the idea of having one tool do one thing well.

2 Likes