Skip to content

Instantly share code, notes, and snippets.

@aus
Last active January 19, 2023 03:57
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aus/2cabcd2b9c039fd7ba9f43f9d89cdd7a to your computer and use it in GitHub Desktop.
Save aus/2cabcd2b9c039fd7ba9f43f9d89cdd7a to your computer and use it in GitHub Desktop.
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

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