From b85acfb58a6ced05405949aed98abd6e0744a57b Mon Sep 17 00:00:00 2001 From: Axel Hahn <ax2002@gmx.net> Date: Sun, 27 Oct 2024 12:00:47 +0100 Subject: [PATCH] restic: hide snapshot list --- plugins/transfer/restic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index 4ad31c3..45a23de 100644 --- a/plugins/transfer/restic.sh +++ b/plugins/transfer/restic.sh @@ -267,8 +267,8 @@ # 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 ) - echo "..." - echo "$_data" + # echo "..." + # echo "$_data" _snapshotLast=$( echo "$_data" | tail -2 | head -1 | cut -f 1 -d " ") _snapshotNow=$( echo "$_data" | tail -1 | cut -f 1 -d " ") -- GitLab