Last active
December 19, 2015 18:09
-
-
Save yzaguirre/5996485 to your computer and use it in GitHub Desktop.
Bash Script that updates Bittorrent Sync.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# based on http://forum.bittorrent.com/topic/21590-shell-script-i-wrote-to-update-btsync-on-linuxunix/ | |
# | |
# Location must reside next to the "btsync" binary | |
# | |
# give execution permission | |
# $ chmod u+x btupdater.sh | |
# run like: | |
# ./btupdater.sh http://syncapp.bittorrent.com/1.1.33/btsync_x64-1.1.33.tar.gz | |
killall -2 btsync | |
wget $1 -O download.tar.gz | |
rm btsync | |
tar -xzvf download.tar.gz && rm download.tar.gz | |
./btsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment