sync/scripts/borg.sh

12 lines
247 B
Bash
Executable File

#!/bin/zsh
set -e
mkdir -p ~/applications
\cd ~/applications
virtualenv --python=python3 borg-env
pip install 'llfuse<0.41'
source borg-env/bin/activate
pip install borgbackup
mkdir -p ~/bin
ln -s $(readlink -e borg-env/bin/borg) ~/bin/borg
\cd -