summaryrefslogtreecommitdiff
path: root/restore.sh
diff options
context:
space:
mode:
Diffstat (limited to 'restore.sh')
-rwxr-xr-xrestore.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/restore.sh b/restore.sh
index 316b3ec..c39bb13 100755
--- a/restore.sh
+++ b/restore.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# restic snapshots > dump
go run restore.go < dump | sed -e 's|$|;|' -e 's|:/[^/]*/|:/|' | grep -v '\.'
#go run restore.go < dump | grep bank | sed -e "s|$| --target /bank|" -e "s|/bank||" -e 's|$|;|' | grep -v '\.'