diff options
author | TheMightyV <themightyv@protonmail.com> | 2022-01-02 21:18:02 +0100 |
---|---|---|
committer | TheMightyV <themightyv@protonmail.com> | 2022-01-02 21:18:02 +0100 |
commit | 8974233a537d2890d75d398bdbdf5ca73152b23b (patch) | |
tree | a6af6f42786c9a9ce590da798f000f8001246318 /backends/bup.sh | |
parent | 023a18b1d150fc9c09bf6ac135663f7ddce3b757 (diff) | |
download | minecraft-server-tools-8974233a537d2890d75d398bdbdf5ca73152b23b.tar.gz |
moved from dmenu to bash select, minor cosmetics
Diffstat (limited to 'backends/bup.sh')
-rw-r--r-- | backends/bup.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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\":" |