Skip to content
Snippets Groups Projects
Commit b85acfb5 authored by Axel Hahn's avatar Axel Hahn
Browse files

restic: hide snapshot list

parent 9a1a8273
Branches
No related tags found
1 merge request!143Add script to handle a USB repair stick
...@@ -267,8 +267,8 @@ ...@@ -267,8 +267,8 @@
# 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-9]-[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"
_snapshotLast=$( echo "$_data" | tail -2 | head -1 | cut -f 1 -d " ") _snapshotLast=$( echo "$_data" | tail -2 | head -1 | cut -f 1 -d " ")
_snapshotNow=$( echo "$_data" | tail -1 | cut -f 1 -d " ") _snapshotNow=$( echo "$_data" | tail -1 | cut -f 1 -d " ")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment