title: how to upload to folder and replace files using python and Google Drive?
body: <p>I crafted this little script which helps me upload files from terminal to Google Drive. I am going to use it with cron to make my life easier a bit. 
  This is the script I have: <a href="https://github.com/goranpejovic/drive-uploader/blob/master/upload.py" rel="nofollow">https://github.com/goranpejovic/drive-uploader/blob/master/upload.py</a></p>
  
  <p>It essentially uploads file to GDrive and optionally converts it to Google Docs format. Now, I want to implement two more things but I am not sure how. </p>
  
  <p>First is I want to have ability to upload to folders remotely. Not just create folder locally and upload it (this would be nice too now when I think of it), but upload file to remote folder in Google Drive. Is this possible? If so, any suggestion? </p>
  
  <p>Second, I would like to be able to replace files that already exist on Drive. Obviously same filename doesn't matter to GDrive so I am assuming it has to do with metadata I am passing as "body". Or some other ways? </p>
  
  <p>Thank you! </p>