From 578199a4eb329b1ce709c74fec3dbbc4a75bd701 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Thu, 25 Mar 2021 11:26:07 -0300 Subject: [PATCH] Backup: add script to list backups --- Backup/listBackups.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Backup/listBackups.sh diff --git a/Backup/listBackups.sh b/Backup/listBackups.sh new file mode 100755 index 0000000..8234955 --- /dev/null +++ b/Backup/listBackups.sh @@ -0,0 +1,7 @@ +if [ $1 ]; then + sudo borg list $1 +else + echo + echo "ERROR: Backup folder argument is missing. Use folder name to display backup set or FOLDER_NAME::BACKUP_SET to display files." + echo +fi