Skip to content

Instantly share code, notes, and snippets.

@gabrielbarros
Created March 6, 2024 20:09
Show Gist options
  • Save gabrielbarros/e8f8f450d9015633e8a7ef7011bc2e1c to your computer and use it in GitHub Desktop.
Save gabrielbarros/e8f8f450d9015633e8a7ef7011bc2e1c to your computer and use it in GitHub Desktop.
Install and update rclone
#!/usr/bin/env bash
set -euo pipefail
echo 'Installing rclone...'
wget https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
sudo mv rclone-*-linux-amd64/rclone /usr/local/bin
sudo chmod a+x /usr/local/bin/rclone
rm rclone-current-linux-amd64.zip
rm -r rclone-*-linux-amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment