4

I am trying to download the Linux version of Gdrive from GitHub using this command

wget https://docs.google.com/uc?id=0B3X9GlR6EmbnWksyTEtCM0VfaFE&export=download

It's getting stuck with this output.

[1] 869 pi@raspberrypi:~ $ Redirecting output to ‘wget-log.2’

1
  • What does the file say? cat wget-log.2 – JamesL Apr 24 '20 at 17:41
8

There is a & in the URL (nothing special for URLs) it just so happens that this is a reserved character for the bash shell... which brings the current command to the background... Try to either put your URL in "" or escape that & with a preceeding \

3
  • 1
    Thanks. that reserved character caused the issue. Adding " " solved the issue. wget https://docs.google.com/uc?id=0B3X9GlR6EmbnWksyTEtCM0VfaFE&export=download – Mayoogh Girish Apr 24 '20 at 17:34
  • just for the heck of it that URL does not even look like it has anything to do with github. (in contrast to what you stated previously) – der bender Apr 24 '20 at 17:39
  • Yes, I even noticed that now. I was following one article, in that it was mentioned it's downloading from Github. – Mayoogh Girish Apr 24 '20 at 17:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.