Generate a list of files shared by suspended users; this will have one row per user per shared file
gam config auto_batch_min 1 csv_output_header_drop_filter "'.*photoLink'" redirect csv ./SuspendedUserFiles.csv multiprocess all users_susp print filelist pm not role owner em fields id,name,permissions
To process the ACLs on the files, you need one row per user per shared file per ACL
Edit it:
# Specify specific permission role value(s) ('owner', 'organizer', 'fileOrganizer', 'writer', 'commenter', 'reader'), e.g., ROLE_LIST = ['writer', 'commenter']
# The list should be empty if you want all roles, e.g, ROLE_LIST = []
ROLE_LIST = ['writer', 'commenter', 'reader']
python MakeOneItemPerRowACLs.py ./SuspendedUserFiles.csv ./SuspendedUserFileACLs.csv
Contatc me directly for additional help,
Ross