capstone-ward / google-docs-upload

Automatically exported from code.google.com/p/google-docs-upload
0 stars 0 forks source link

add new version for documents with same name #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

It will be nice to have an option to add a new version if a document with the 
same name already exists in the same folder.

Thanks

Original issue reported on code.google.com by ionut.ai...@gmail.com on 26 Jan 2011 at 9:10

GoogleCodeExporter commented 8 years ago
Hi,

You can do this now by specifying the --add-all option. The documents will be 
uploaded the second time if they already exist in Google Docs.

Best regards,
Anton

Original comment by anton.be...@gmail.com on 27 Jan 2011 at 3:38

GoogleCodeExporter commented 8 years ago
But like this it will create duplicates, not a new version to an already 
existing document.

Original comment by ionut.ai...@gmail.com on 27 Jan 2011 at 1:32

GoogleCodeExporter commented 8 years ago
Sorry, now I understand what you mean. Unfortunately, I don't think that it's 
possible to create a new revision of a document using the API.

Original comment by anton.be...@gmail.com on 2 Feb 2011 at 12:57

GoogleCodeExporter commented 8 years ago
from Google Document List API:

Publishing documents
Note: The publishing features are only available for document, spreadsheet, and 
presentation types. Other formats (e.g. PDFs) do not support the publishing 
commands.
The API supports the following modifications to a document's published settings:
- Publish/unpublish a document
- Publish a document at a different revision
- Change whether document changes are auto-republished
- Change whether documents are published outside of a Google Apps domain

Original comment by mvara...@gmail.com on 7 Feb 2011 at 10:56