From 8974233a537d2890d75d398bdbdf5ca73152b23b Mon Sep 17 00:00:00 2001 From: TheMightyV Date: Sun, 2 Jan 2022 21:18:02 +0100 Subject: moved from dmenu to bash select, minor cosmetics --- backends/bup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backends/bup.sh') diff --git a/backends/bup.sh b/backends/bup.sh index ab27825..a5ddb14 100644 --- a/backends/bup.sh +++ b/backends/bup.sh @@ -54,11 +54,12 @@ function bup_create_backup() { return $RETCODE } -function bup_ls_remote() { +# server_restore relies on output format of this function +function bup_ls_dir() { bup -d "$(bup_local)" ls -r "$BACKUP_DIR" "$BACKUP_NAME" } -function bup_ls() { +function bup_ls_all() { for BACKUP_DIR in ${BACKUP_DIRS[*]} do echo "bup: backups in \"$BACKUP_DIR\":" -- cgit v1.2.3