title: wget/curl large file from google drive
body: <p>I'm trying to download a file from google drive in a script, and I'm having a little trouble doing so. The files I'm trying to download are <a href="https://drive.google.com/folderview?id=0Bz-w5tutuZIYeHJTWjR5WW1pa1E&amp;usp=sharing" rel="noreferrer">here</a>.</p>
  
  <p>I've looked online extensively and I finally managed to get one of them to download. I got the UIDs of the files and the smaller one (1.6MB) downloads fine, however the larger file (3.7GB) always redirects to a page which asks me whether I want to proceed with the download without a virus scan. Could someone help me get past that screen?</p>
  
  <p>Here's how I got the first file working - </p>
  
  <pre><code>curl -L "https://docs.google.com/uc?export=download&amp;id=0Bz-w5tutuZIYeDU0VDRFWG9IVUE" &gt; phlat-1.0.tar.gz
  </code></pre>
  
  <p>When I run the same on the other file, </p>
  
  <pre><code>curl -L "https://docs.google.com/uc?export=download&amp;id=0Bz-w5tutuZIYY3h5YlMzTjhnbGM" &gt; index4phlat.tar.gz
  </code></pre>
  
  <p>I get the the following output -
  <a href="https://i.stack.imgur.com/Szcq2.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Szcq2.jpg" alt="enter image description here"></a></p>
  
  <p>I notice on the third-to-last line in the link, there a <code>&amp;confirm=JwkK</code> which is a random 4 character string but suggests there's a way to add a confirmation to my URL. One of the links I visited suggested <code>&amp;confirm=no_antivirus</code> but that's not working.</p>
  
  <p>I hope someone here can help with this!</p>