To set up google drive auto syncing on a linux machine, you can use google-drive-ocamlfuse.
How to install it and set it up is described here:
https://www.tutorialspoint.com/how-to-mount-google-drive-in-linux-using-google-drive-ocamlfuse-client
The tricky bit is to get it to restart when the computer reboots. After some trial and error, I found the best method here:
https://unix.stackexchange.com/questions/579562/google-drive-does-not-work-after-a-reboot