Skip to content

Instantly share code, notes, and snippets.

@aus
Last active May 19, 2017
Embed
What would you like to do?
lastest beta rclone install script
#!/bin/bash
mkdir /tmp/rclone_install
cd /tmp/rclone_install
curl -s -O https://beta.rclone.org/rclone-beta-latest-linux-amd64.zip
unzip -q rclone-beta-latest-linux-amd64.zip
cd rclone-*-linux-amd64
cp -v rclone /usr/bin/
chown root:root /usr/bin/rclone
chmod 755 /usr/bin/rclone
mkdir -p /usr/local/share/man/man1
cp -v rclone.1 /usr/local/share/man/man1/
mandb -q
rm -Rf /tmp/rclone_install
@haljordan2814
Copy link

haljordan2814 commented Mar 10, 2017

Thanks for posting this, I actually ran through it manually to assure my system would take this script. After the scrip when I run rclone version it reports 1.35 . Is that expected behavior? The file is definitely different:
:~/downloads/rclone-v1.35-164-g488353c#U03b2-linux-amd64$ ls -l /usr/bin | grep rclone
-rwxr-xr-x 1 root root 14683616 Mar 10 12:28 rclone

You can see the date reflected there....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment