Skip to content
Snippets Groups Projects

restic diff: fix regex filter

Merged Hahn Axel (hahn) requested to merge 5046-finetune-restic-params into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -207,7 +207,7 @@
@@ -207,7 +207,7 @@
local _snapshotNow
local _snapshotNow
# get list of snapshots and filter the lines with a date YYYY-MM-DD
# get list of snapshots and filter the lines with a date YYYY-MM-DD
_data=$( t_restoreDoShowVolumes | grep "[12][0-9][0-9][0-1]-[0-2][0-9]-[0-3][0-9]" | tail -5 )
_data=$( t_restoreDoShowVolumes | grep "[12][0-9][0-9][0-9]-[0-2][0-9]-[0-3][0-9]" | tail -5 )
echo "..."
echo "..."
echo "$_data"
echo "$_data"
Loading