taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

showownedby is not a valid argument #308

Closed pchojnacki closed 1 year ago

pchojnacki commented 1 year ago

Hi

I try to use command: gam user print filelist fullquery "not 'me' in owners and 'root' in parents and mimeType='application/vnd.google-apps.folder' and trashed=false" showownedby others todrive

from Documentation (section Print File List -> Not-Owned Top Level Folders (Shared)): https://sites.google.com/jis.edu.bn/gam-commands/services/drive?authuser=0#h.p_GhAvc_-iEDeW

but I get an error: ERROR: showownedby is not a valid argument for "gam show filelist"

I have installed a newest version of GAMADV-XTD3.

Thank you for help.

taers232c commented 1 year ago

Two things: There is no user specified in the command: gam user print filelist fullquery "not 'me' in owners and 'root' in parents and mimeType='application/vnd.google-apps.folder' and trashed=false" showownedby others todrive You want: gam user @.*** print filelist fullquery "not 'me' in owners and 'root' in parents and mimeType='application/vnd.google-apps.folder' and trashed=false" showownedby others todrive

The error message is coming from Standard GAM, not advanced GAM.

What platform are you on?

Ross

Ross Scroggs @.***

On Oct 5, 2022, at 12:23 PM, pchojnacki @.***> wrote:

Hi

I try to use command: gam user print filelist fullquery "not 'me' in owners and 'root' in parents and mimeType='application/vnd.google-apps.folder' and trashed=false" showownedby others todrive

from Documentation (section Print File List -> Not-Owned Top Level Folders (Shared)): https://sites.google.com/jis.edu.bn/gam-commands/services/drive?authuser=0#h.p_GhAvc_-iEDeW https://sites.google.com/jis.edu.bn/gam-commands/services/drive?authuser=0#h.p_GhAvc_-iEDeW but I get an error: ERROR: showownedby is not a valid argument for "gam show filelist"

I have installed a newest version of GAMADV-XTD3.

Thank you for help.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/308, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5SMANE62YXK6U75ETWBXITNANCNFSM6AAAAAAQ53FPIE. You are receiving this because you are subscribed to this thread.

pchojnacki commented 1 year ago

Of course I replaced with e-mail address. :) I'm sorry, it was my fault. I did fresh install but still with GAM not GAMADV and all the time I was sure that was GAMADV. It works now.

Thank you for your reply and time.