A python script to search through multiple (or all) snapshots of restic for a specified path
| 1 | #!/usr/bin/env python3 |
| 2 | import sys |
| 3 | from argparse import ArgumentParser |
| 4 | from json import loads |
| 5 | from pathlib import Path |
| 6 | from subprocess import PIPE, Popen |
| 7 | from sys import stderr |
| 8 | from typing import TypedDict |
| 9 | |
| 10 | parser = ArgumentParser(prog="restic-search") |