~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle "Team Drives Access Control Lists - Generated RAW DATA" tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser true
~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle Team Drives Access Control Lists - Generated RAW DATA tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser true
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/bc85bd00-fac5-4481-a7e9-89197fa90fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Harold,Show an example of the process of recreating the file from the description.
On Jun 26, 2019, at 2:13 AM, Harold Horsman <harold...@vra.nl> wrote:
Hi all, Hi Ross,There is a great feature in the TODRIVE parameter. When you create a file with it, it also writes the command that produced the file into the description of the file. I find this very useful.But there is an issue with it when I am using spaces into the file name that follows TODRIVE.As an example:I use the following command to generate a list of ACL's for Teamdrives. This raw data file is then referenced by another sheet that shows statistics and nice overviews.~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle "Team Drives Access Control Lists - Generated RAW DATA" tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser true
When I look at the description of the file that is created, it doesn't contain the quotes anymore. That leads to problems when I, or anyone else in my group, wants to recreate the file, using the command in the description.~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle Team Drives Access Control Lists - Generated RAW DATA tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser true
Am I doing something wrong here? Is it a bug? Is there a solution for this?--
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.
Yep, almost certainly a bug. The challenge here is you OS shell is actually the one to split up the command arguments and pass them on to Python/GAM so GAM never has a chance to see the raw command you ran but at the very least we can re-quote any arguments that contain spaces.Mind creating an issue on GitHub for this?Jay
On Wed, Jun 26, 2019, 5:13 AM Harold Horsman <harold...@vra.nl> wrote:
Hi all, Hi Ross,--There is a great feature in the TODRIVE parameter. When you create a file with it, it also writes the command that produced the file into the description of the file. I find this very useful.But there is an issue with it when I am using spaces into the file name that follows TODRIVE.As an example:I use the following command to generate a list of ACL's for Teamdrives. This raw data file is then referenced by another sheet that shows statistics and nice overviews.
~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle "Team Drives Access Control Lists - Generated RAW DATA" tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser trueWhen I look at the description of the file that is created, it doesn't contain the quotes anymore. That leads to problems when I, or anyone else in my group, wants to recreate the file, using the command in the description.
~/bin/gamadv-xtd3/gam print teamdriveacls oneitemperrow todrive tdtitle Team Drives Access Control Lists - Generated RAW DATA tdfileid 1234567890....... tdsheet AccessControlList tdtimestamp true tdnobrowser trueAm I doing something wrong here? Is it a bug? Is there a solution for this?
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 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ee48436f-db40-46c8-89e7-c7dc41f08851%40googlegroups.com.
Harold,
Thanks, I had just understood what you were talking about when your reply cam in. I'll fix this morning.
Thank you, Ross.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/bc85bd00-fac5-4481-a7e9-89197fa90fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/ee48436f-db40-46c8-89e7-c7dc41f08851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c29eef17-ae0e-470b-8baa-b293213a19e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Harold,Try 4.88.01Ross
Thank you, Ross.
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-ap...@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/bc85bd00-fac5-4481-a7e9-89197fa90fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-ap...@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/ee48436f-db40-46c8-89e7-c7dc41f08851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-ap...@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/c29eef17-ae0e-470b-8baa-b293213a19e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Ross Scroggs