todrive arguments?

624 views
Skip to first unread message

Erie

unread,
Sep 13, 2016, 5:13:14 PM9/13/16
to Google Apps Manager
Is todrive argument free? I see that it just puts it in my Google Drive root folder.
I don't see any arguments available for todrive.
It would be great if we can specificy the filename and to what folder it goes to.
Would be helpful because I would like to run reports with todrive and have it save to a specific Shared Google Drive for others to access.

Thanks!

+KimNilsson

unread,
Sep 16, 2016, 4:09:39 AM9/16/16
to Google Apps Manager
Yes, or at least send to a default GAM directory.
A full syntax would, of course, be awesome.

Todd Biggins

unread,
Aug 23, 2017, 1:43:03 PM8/23/17
to GAM for G Suite
todrive argument with optional spreadsheet ID would be great too - allowing you to overwrite the same Google Sheet over and over
That way even if you move and organize it, at least it's the same sheet.  Google handles the versions etc.

Ross Scroggs

unread,
Aug 23, 2017, 1:50:47 PM8/23/17
to google-ap...@googlegroups.com
Todd,

In my advanced GAM(https://github.com/taers232c/GAMADV-X) you can specify todrive parameters.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fe699a35-3d06-4910-b36b-6fd06fc85a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Todd Biggins

unread,
Aug 23, 2017, 3:00:13 PM8/23/17
to google-ap...@googlegroups.com
awesome - thanks!!!

On Wed, Aug 23, 2017 at 1:50 PM, Ross Scroggs <ross.s...@gmail.com> wrote:
Todd,

In my advanced GAM(https://github.com/taers232c/GAMADV-X) you can specify todrive parameters.
On Wed, Aug 23, 2017 at 10:43 AM, Todd Biggins <tbig...@gmail.com> wrote:
todrive argument with optional spreadsheet ID would be great too - allowing you to overwrite the same Google Sheet over and over
That way even if you move and organize it, at least it's the same sheet.  Google handles the versions etc.

On Tuesday, September 13, 2016 at 5:13:14 PM UTC-4, Erie wrote:
Is todrive argument free? I see that it just puts it in my Google Drive root folder.
I don't see any arguments available for todrive.
It would be great if we can specificy the filename and to what folder it goes to.
Would be helpful because I would like to run reports with todrive and have it save to a specific Shared Google Drive for others to access.

Thanks!

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.



--

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/J68m7owxi8A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

+KimNilsson

unread,
Aug 24, 2017, 6:09:06 AM8/24/17
to GAM for G Suite
That's very close, Ross, but I don't see it pushing data to the same file.
Only to something with the same name, which in google-speak isn't the same thing.

Ross Scroggs

unread,
Aug 24, 2017, 9:10:58 AM8/24/17
to google-ap...@googlegroups.com
Kim,

Thanks. I'm adding the update capability now.

On Aug 24, 2017, at 3:09 AM, +KimNilsson <there.is.no...@gmail.com> wrote:

That's very close, Ross, but I don't see it pushing data to the same file.
Only to something with the same name, which in google-speak isn't the same thing.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

Todd Biggins

unread,
Aug 24, 2017, 9:35:17 AM8/24/17
to google-ap...@googlegroups.com
+KimNilsson - thanks for following up / Ross, thanks for implementing!

On Thu, Aug 24, 2017 at 9:10 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Kim,

Thanks. I'm adding the update capability now.

On Aug 24, 2017, at 3:09 AM, +KimNilsson <there.is.no.substitute@gmail.com> wrote:

That's very close, Ross, but I don't see it pushing data to the same file.
Only to something with the same name, which in google-speak isn't the same thing.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/J68m7owxi8A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.

Ross Scroggs

unread,
Aug 24, 2017, 12:12:42 PM8/24/17
to google-ap...@googlegroups.com
Todd/Kim,


You can now update an existing file with todrive.

Ross

On Thu, Aug 24, 2017 at 6:34 AM, Todd Biggins <tbig...@gmail.com> wrote:
+KimNilsson - thanks for following up / Ross, thanks for implementing!
On Thu, Aug 24, 2017 at 9:10 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Kim,

Thanks. I'm adding the update capability now.

On Aug 24, 2017, at 3:09 AM, +KimNilsson <there.is.no.substitute@gmail.com> wrote:

That's very close, Ross, but I don't see it pushing data to the same file.
Only to something with the same name, which in google-speak isn't the same thing.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/J68m7owxi8A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsubscribe...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Todd Biggins

unread,
Aug 24, 2017, 12:33:40 PM8/24/17
to google-ap...@googlegroups.com
Incredible value added.  Especially when set as a scheduled task!  Thanks!




--

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for G Suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/J68m7owxi8A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Kim Nilsson

unread,
Aug 24, 2017, 1:01:15 PM8/24/17
to Google Apps Manager
Awesome, Ross!

Ross Scroggs

unread,
Aug 25, 2017, 11:00:43 AM8/25/17
to google-ap...@googlegroups.com
Todd,

Using the todrive tdfileid <DriveFileID> option adds the new data as a revision for which there is a limit of 200 revisions.
You'll have to periodically do revision maintenance.

Ross

On Thu, Aug 24, 2017 at 10:01 AM, Kim Nilsson <there.is.no...@gmail.com> wrote:
Awesome, Ross!

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Kim Nilsson

unread,
Aug 25, 2017, 11:13:50 AM8/25/17
to Google Apps Manager
Will it fail to create a new revision when it hits max, or will it start removing old revisions?

Ross Scroggs

unread,
Aug 25, 2017, 11:24:30 AM8/25/17
to google-ap...@googlegroups.com
Kim,

Its not clear to me from the API documentation; run a test and let us know the results.

Ross

On Fri, Aug 25, 2017 at 8:13 AM, Kim Nilsson <there.is.no...@gmail.com> wrote:
Will it fail to create a new revision when it hits max, or will it start removing old revisions?

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

+KimNilsson

unread,
Aug 26, 2017, 4:47:29 AM8/26/17
to GAM for G Suite
Looks like there's no limitation.

I set a cronjob every minute at 21:13 yesterday, and it's now 10:45 the next day and it's still pushing updates to the doc, and as far as I can see all versions are present.

Ross Scroggs

unread,
Aug 26, 2017, 7:34:01 AM8/26/17
to google-ap...@googlegroups.com
Kim,

Thanks.

How many revisions do you see here?
gam user us...@domain.com show filerevisions <DriveFileID> modifieddate

On Aug 26, 2017, at 1:47 AM, +KimNilsson <there.is.no...@gmail.com> wrote:

Looks like there's no limitation.

I set a cronjob every minute at 21:13 yesterday, and it's now 10:45 the next day and it's still pushing updates to the doc, and as far as I can see all versions are present.

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.

Kim Nilsson

unread,
Aug 26, 2017, 9:37:43 AM8/26/17
to Google Apps Manager
810 :-)

Ross Scroggs

unread,
Aug 26, 2017, 11:24:23 AM8/26/17
to google-ap...@googlegroups.com
Kim,

So now that you have to clean up that mess, GAMADV-X is there for you: https://github.com/taers232c/GAMADV-X/wiki/Users---Drive---Revisions

Ross


On Aug 26, 2017, at 6:37 AM, Kim Nilsson <there.is.no...@gmail.com> wrote:

810 :-)

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
Reply all
Reply to author
Forward
0 new messages