gcloud config set project $MYGCPPROJECT
gcloud auth application-default login --no-launch-browser
more ~/.config/gcloud/application_default_credentials.json
gcloud config list
gcloud auth list
================== Mounting bucket
echo Mounting instructions: gcsfuse bucketName /path/to/mount where bucketName=$BUCKETNAME /path/to/mount=$PATH2MOUNT2
gcsfuse $BUCKETNAME $PATH2MOUNT2
cd $PATH2MOUNT2 && ls -l -t
================== Cleaning up and unmounting bucket
REFERENCES: MAIN GCSFuse docs: https://cloud.google.com/storage/docs/gcs-fuse REFERENCES: https://cloud.google.com/docs/authentication/production
Other folder sync solution: https://docs.syncthing.net/users/syncthing.html
Setup bucket In a project, create a bucket. Example: bucket "bucket-xima-dev" in project "data4good"
================== Define env vars
================== Install gcsfuse
================== Setting ADC
================== Mounting bucket
================== Cleaning up and unmounting bucket