I know I can do
curl https://rclone.org/install.sh | sudo bash in order to get and install the latest version and that procedure usefully aborts, with an informative message, if I have the latest version already. However, it would be useful if one could fetch just the version number of the current version from web. That way I could skip the download were I up to date already.
Is there a way this can be done, please?
Just open https://rclone.org/install.sh and read it, it already checks if there is an update before updating. Check: https://downloads.rclone.org/version.txt
Right. Thanks. I was confusing the install.sh script with the whole rclone code. In fact, the script is just a little script and it will download rclone only if necessary. I suppose I was encouraged to my mistake by curl's download progress meter.
$ rclone version --check
latest: 1.53.2 (released 2020-10-26)
beta: 1.54.0-beta.4889.45e8bea8d (released 2020-11-11)
This reads from https://downloads.rclone.org/version.txt
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.