Last active
January 19, 2023 03:57
-
-
Save aus/2cabcd2b9c039fd7ba9f43f9d89cdd7a to your computer and use it in GitHub Desktop.
lastest beta rclone install script
This file contains hidden or 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 | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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....