Drive file ACL's along with Sub folders

125 views
Skip to first unread message

Kevin Sanghvi

unread,
May 30, 2019, 11:31:11 AM5/30/19
to GAM for G Suite
Hello. 

I am trying to download Drive file ACL's for a particular user. I want to download the file and following is the current hierarchy.

Parent folder : owner - us...@domain.com
Sub folder 1: owner - us...@domain.com
   Child folder 1: owner - use...@domain.com
Another sub folder: owner - us...@domain.com
  Child folder 2: owner - use...@domain.com

Expected fields: File/Folder name, File URL, Owner ID.

I have tried following command and it doesn't provide desired output. 

gam user us...@domain.com sho filelist allfields > files.csv

Thanks, Kevin

Ross Scroggs

unread,
May 30, 2019, 11:32:54 AM5/30/19
to google-ap...@googlegroups.com
Kevin,

What is you gam version?

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-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/d1507eab-5c5f-4fd8-b2b1-23751f92f702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Kevin Sanghvi

unread,
May 30, 2019, 11:39:10 AM5/30/19
to GAM for G Suite
Hello Ross,

I have tried this on 4.50 and 4.85 version.

Thanks, Kevin


On Thursday, May 30, 2019 at 9:02:54 PM UTC+5:30, Ross Scroggs wrote:
Kevin,

What is you gam version?

Ross

On Thu, May 30, 2019 at 8:31 AM KS <kvnsa...@gmail.com> wrote:
Hello. 

I am trying to download Drive file ACL's for a particular user. I want to download the file and following is the current hierarchy.

Parent folder : owner - us...@domain.com
Sub folder 1: owner - us...@domain.com
   Child folder 1: owner - use...@domain.com
Another sub folder: owner - us...@domain.com
  Child folder 2: owner - use...@domain.com

Expected fields: File/Folder name, File URL, Owner ID.

I have tried following command and it doesn't provide desired output. 

gam user us...@domain.com sho filelist allfields > files.csv

Thanks, Kevin

--
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.


--
Ross Scroggs

Ross Scroggs

unread,
May 30, 2019, 11:46:20 AM5/30/19
to google-ap...@googlegroups.com
Try adding anyowner to your command.

Ross

On Thu, May 30, 2019 at 8:39 AM KS <kvnsa...@gmail.com> wrote:
Hello Ross,

I have tried this on 4.50 and 4.85 version.

Thanks, Kevin

On Thursday, May 30, 2019 at 9:02:54 PM UTC+5:30, Ross Scroggs wrote:
Kevin,

What is you gam version?

Ross

On Thu, May 30, 2019 at 8:31 AM KS <kvnsa...@gmail.com> wrote:
Hello. 

I am trying to download Drive file ACL's for a particular user. I want to download the file and following is the current hierarchy.

Parent folder : owner - us...@domain.com
Sub folder 1: owner - us...@domain.com
   Child folder 1: owner - use...@domain.com
Another sub folder: owner - us...@domain.com
  Child folder 2: owner - use...@domain.com

Expected fields: File/Folder name, File URL, Owner ID.

I have tried following command and it doesn't provide desired output. 

gam user us...@domain.com sho filelist allfields > files.csv

Thanks, Kevin

--
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.


--
Ross Scroggs

--
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.

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


--

Kevin Sanghvi

unread,
May 30, 2019, 12:15:06 PM5/30/19
to GAM for G Suite
Hello Ross,

It has started exporting the files. However it has more 80,000 files till now and still exporting, so now i am trying to narrow it down to a specific folder. Could you please help with this regard? 

Not working : gam user us...@domain.com print filelist anyowner query "name contains 'folder 1'" > sample.csv

Thanks, Kevin
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.


--
Ross Scroggs

--
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.


--
Ross Scroggs

Ross Scroggs

unread,
May 30, 2019, 1:05:41 PM5/30/19
to google-ap...@googlegroups.com
Kevin,

There is no simple way to achieve this with standard GAM (4.70, 4.85) you'll have to update to Advanced GAM (https://github.com/taers232c/GAMADV-XTD3)

Ross

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


--
Ross Scroggs

--
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.


--
Ross Scroggs

--
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.

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


--
Reply all
Reply to author
Forward
0 new messages