File: fetch-binaries

package info (click to toggle)
borgbackup 1.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 24,532 kB
  • sloc: python: 26,544; pascal: 3,245; ansic: 2,597; sh: 150; makefile: 133; tcl: 94
file content (20 lines) | stat: -rwxr-xr-x 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

mkdir -p dist/

check_and_copy () {
    echo "--- EXE $2 -----------------------------------------------"
    vagrant ssh $1 -c "/vagrant/borg/borg.exe -V"
    vagrant scp $1:/vagrant/borg/borg.exe   dist/$2
    echo "--- DIR $2 -----------------------------------------------"
    vagrant ssh $1 -c "/vagrant/borg/borg-dir/borg.exe -V"
    vagrant scp $1:/vagrant/borg/borg.tgz   dist/$2.tgz
    echo ""
}

check_and_copy bullseye  borg-linux-glibc231-x86_64
check_and_copy bookworm  borg-linux-glibc236-x86_64
check_and_copy trixie    borg-linux-glibc241-x86_64

check_and_copy freebsd13 borg-freebsd-13-x86_64
check_and_copy freebsd14 borg-freebsd-14-x86_64