prefix=/opt
alias=dup
osver=duplicacy_linux_x64_
ver=2.1.0
mkdir -p "$prefix$alias" "$prefix/bin"
wget -q "https://github.com/gilbertchen/duplicacy/releases/download/v$ver/$osver$ver" -O "$prefix/$alias"
chmod +x "$prefix/$alias/$alias"
ln -sr "$prefix/$alias/$alias" "$prefix/bin"
Created
May 17, 2018 15:36
-
-
Save untoreh/dca994f6c2cee73992a97decc51859a3 to your computer and use it in GitHub Desktop.
setup duplicacy cli binary on current host
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment