Last active
September 15, 2017 15:11
-
-
Save brianyoungblood/6705120df7413622c882de9a7a6ab190 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Email owner [email protected] | |
GDRIVE_OWNER_EMAIL=$1 | |
# File ID 1qvBd0deuWHAsPyDwEVBnUg_a09_Z3Xlo39Qhlg2apyw | |
GDRIVE_FILEID=$2 | |
# Username at practicegreenhealth.org. ie bjones | |
GDRIVE_PGHUSERNAME=$3 | |
gam user $GDRIVE_OWNER_EMAIL show drivefileacl $GDRIVE_FILEID | |
gam user $GDRIVE_OWNER_EMAIL add drivefileacl $GDRIVE_FILEID user [email protected] role writer | |
gam user $GDRIVE_OWNER_EMAIL delete drivefileacl $GDRIVE_FILEID [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment