MURPHY'S LAW!!!
I'm suddenly getting quota exceeded .. thank you @ross for handling this :)
but it works quite nicely ... maybe there's a way of adding two csv's at once?
So, this is what I'm doing -
- I've run a modified version of GetSharedWithAnyoneDriveACLs.py - I added a column with the webViewLink for the file to the output csv, so that a user will be able to go directly to the file when I've uploaded it to the gsheet
- I've got two sets of csv files, one for publicontheweb (aka id:anyone) and one for anyonewithlink (aka id:anyoneWithLink) which I upload to a single sheet for each user using gam csv
- Firstly -
gam csv ./publicontheweb.csv gam user
fr...@domain.com create drivefile localfile ~localfilename drive filename ~filename mimetype gsheet parentid
1234xxxxxxxxxxxxxxxxxxxxxxxxxxxXYZ- then I take the file id's output when the new gsheets are created and put them into the csv input for the next gam command
gam csv ./gamupdatesheets.csv gam user
fr...@domain.com update drivefile id ~drivefileid retainname localfile ~localfilename addsheet "With Link"