sync/scripts/borg.sh
2016-01-10 03:47:41 -05:00

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 -