Issue 367 in googlecl: option to overwrite existing Docs file

15 views
Skip to first unread message

goog...@googlecode.com

unread,
Feb 19, 2011, 6:26:22 PM2/19/11
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 367 by adam.i.howard: option to overwrite existing Docs file
http://code.google.com/p/googlecl/issues/detail?id=367

What service (Calendar, Docs, Picasa) should be enhanced? Docs

What is the enhancement?

Provide an option for the upload command to let user overwrite an existing
file (doc or spreadsheet) with the file to be uploaded. As it works right
now, it appears your upload only creates a new file with the same filename
but different url/key.

goog...@googlecode.com

unread,
Nov 28, 2011, 9:03:25 AM11/28/11
to google...@googlegroups.com

Comment #1 on issue 367 by paul_sl...@xyratex.com: option to overwrite

With some fairly simple scripting, you can use the 'Edit' function within
GoogleGL to:
1. Detect the filename being downloaded.
2. Overwrite that file with the file you want to upload.

GoogleCL will see the file has changed and will upload the new file in
place of the old one.

It's not ideal but it's a workaround until Google introduce a -clobber
function.

goog...@googlecode.com

unread,
Dec 9, 2011, 4:49:01 PM12/9/11
to google...@googlegroups.com

Comment #2 on issue 367 by Coilamg: option to overwrite existing Docs file
http://code.google.com/p/googlecl/issues/detail?id=367

You could also write a script to delete the old file and replace it with a
new one.
docs delete "filename.txt"
docs upload "filename.txt"

goog...@googlecode.com

unread,
Jan 23, 2015, 3:35:47 AM1/23/15
to google...@googlegroups.com

Comment #3 on issue 367 by gryf...@gmail.com: option to overwrite existing
Docs file
https://code.google.com/p/googlecl/issues/detail?id=367

deleting and uploading is not a work around for a shared file.





--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages