Hi,

There was a question during the Einstein Toolkit workshop about problems with 
downloading files from Google Drive with wget. If the file is shared via public 
link, it is not very hard, i.e. you need to specify the object ID:

   wget -O <file> https://drive.google.com/uc?id=<FILEID>&export=download

where FILEID is a long string which shows up in the shared link. E.g.,
 
   wget -O slides.pdf 
https://drive.google.com/uc?id=0Bxd8DtQy1EODaHRQd19Wd1M3WUU&export=download

also works with curl:
  
  curl -o slides.pdf -L 
https://drive.google.com/uc?id=0Bxd8DtQy1EODaHRQd19Wd1M3WUU&export=download

This doesn't really work with privately shared files.

Hope this helps,
Cheers,
 - Oleg Korobkin
_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users

Reply via email to