Question

How do I sync a google drive folder to a web server folder

We have a google drive folder with a spreadsheet. When the spreadsheet changes we want the contents sync’d to a web server folder. The sheet contains stock levels. When the stock levels change we want the web page to change. We currently use an app called RealTimeSync which monitors the google drive folder and FTP’s the file - but this runs on a local home machine. If the power fails then the process fails. We would like to run a similar process (not necessarily RealTimeSync) on a Digital Ocean droplet which performs the same task. Does anyone have any ideas on the best way to do this and instructions? I had a brief look at Rsync - but I’m not sure this will work. Any assistance would be most helpful. Thanks


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
November 21, 2019
Accepted Answer

Hello, @paulmanners

rsync is a great file-copying tool but I believe you would need something else to copy your files to Google Drive. I know that rclone is used to sync between a linux machine and Google Drive. The installation is pretty straight forward. You can check the installation tutorial here: https://rclone.org/install/

And the official documentation here: https://rclone.org/docs/ for GDrive: https://rclone.org/drive/

Hope this helps.

Regards, Alex

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.