All Projects → MStadlmeier → Drivesync

MStadlmeier / Drivesync

Licence: mit
Google Drive synchronization for Linux

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Drivesync

Cloudcross
CloudCross it's opensource crossplatform software for syncronization a local files and folders with many cloud providers. On this moment a Cloud Mail.Ru, Yandex.Disk, Google drive, OneDrive and Dropbox support is available
Stars: ✭ 185 (+25%)
Mutual labels:  cloud, google-drive
drive
Google Drive client for the commandline
Stars: ✭ 6,470 (+4271.62%)
Mutual labels:  sync, google-drive
Embetacloud
directly upload files to google drive
Stars: ✭ 164 (+10.81%)
Mutual labels:  cloud, google-drive
synchly
Automate database backups with customizable recurring schedules.
Stars: ✭ 27 (-81.76%)
Mutual labels:  sync, google-drive
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+20535.81%)
Mutual labels:  sync, google-drive
Gdrivesync.js
Javascript wrapper library for Google Drive API v3
Stars: ✭ 94 (-36.49%)
Mutual labels:  sync, google-drive
Cryptsync
CryptSync is a small utility that synchronizes two folders while encrypting the contents in one folder. That means one of the two folders has all files unencrypted (the files you work with) and the other folder has all the files encrypted.
Stars: ✭ 195 (+31.76%)
Mutual labels:  cloud, sync
Arozos
General purposed Web Desktop Operating Platform / OS for Raspberry Pis, Now written in Go!
Stars: ✭ 252 (+70.27%)
Mutual labels:  cloud, google-drive
Raidrive.translation
RaiDrive Translation
Stars: ✭ 518 (+250%)
Mutual labels:  cloud, google-drive
Cloud Media Scripts
Upload and stream media from the cloud with or without encryption. Cache all new and recently streamed media locally to access quickly and reduce API calls
Stars: ✭ 84 (-43.24%)
Mutual labels:  cloud, google-drive
Telegram Clonebot
Simple Bot to clone Google Drive Files (or Folders) to your Team Drive[or Normal Drive]. P.S This is not a Mirror Bot. Enjoy ✌🏻
Stars: ✭ 114 (-22.97%)
Mutual labels:  cloud, google-drive
Batchexplorer
A client tool to help create, debug and monitor Azure Batch Applications
Stars: ✭ 141 (-4.73%)
Mutual labels:  cloud
Magneto Python Aria
Fork of staging-4.0-mega branch of https://github.com/lzzy12/python-aria-mirror-bot
Stars: ✭ 141 (-4.73%)
Mutual labels:  google-drive
Easyappointments
Easy!Appointments is a highly customizable web application that allows customers to book appointments with you via a sophisticated web interface. Moreover, it provides the ability to sync your data with Google Calendar so you can use them with other services. It is an open source project that you can download and install even for commercial use. Easy!Appointments will run smoothly with your existing website as it can be installed in a single folder of the server and of course share an existing database.
Stars: ✭ 2,013 (+1260.14%)
Mutual labels:  sync
Ytdlrc
☁️ Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote
Stars: ✭ 140 (-5.41%)
Mutual labels:  google-drive
Volumetric Path Tracer
☁️ Volumetric path tracer using cuda
Stars: ✭ 145 (-2.03%)
Mutual labels:  cloud
E Books
A collections of FREE ebooks
Stars: ✭ 143 (-3.38%)
Mutual labels:  cloud
Jhipster Online
JHipster Online lets you generate your JHipster projects through a user friendly web interface.
Stars: ✭ 140 (-5.41%)
Mutual labels:  cloud
Nacos Sync
Service Sync component
Stars: ✭ 138 (-6.76%)
Mutual labels:  sync
Incubator Brooklyn
Mirror of Apache Brooklyn
Stars: ✭ 139 (-6.08%)
Mutual labels:  cloud

DriveSync

v 1.4.0

A command line utility that synchronizes your Google Drive files with a local folder on your machine. Downloads new remote files, uploads new local files to your Drive and deletes or updates files both locally and on Drive if they have changed in one place. Allows blacklisting or whitelisting of files and folders that should not / should be synced.

Works as a replacement for the Google Drive client for Windows and Mac

Installation

Please note that the pre-packaged version has been removed because Travelling Ruby stopped being maintained, causing some SSL issues.

Requires Ruby >= 2.0. If Ruby isn't installed on your system, get it through rvm or install it yourself with your distro's package manager.

When Ruby is installed, get drivesync:

git clone https://github.com/MStadlmeier/drivesync.git
cd drivesync
bundle install

You can then run DriveSync with ruby drivesync.rb

Updates

The easiest way to get the latest version is by going in the directory that contains drivesync.rb and running git pull . DriveSync checks for updates whenever it starts and notifies you if there is a new version. However, users that automate DriveSync may not see this notice, so I suggest checking this site occasionally or running ruby drivesync.rb -v to check for updates.

Configuration

There is a config file located in ~/.drivesync/config.yml containig all of DriveSync's settings. This file can also be edited directly with ruby drivesync.rb config . The settings are explained in the config file. For now, the most important option is the location for the drive folder on your local system. Set it to where you would like your local drive to be.

Automating DriveSync

Make sure to run DriveSync manually at least once after you install it, as it will ask you to authenticate.

Ideally, you shouldn't have to sync your Drive manually, so let's run DriveSync periodically as a Cronjob. To do this, edit your crontab with crontab -e and add a Cronjob.

*/1 * * * * ruby /path/to/drivesync/drivesync.rb

If you use rvm to manage your Ruby installations, you may need to run rvm cron setup before you can use ruby in Cronjobs

This will attempt to run DriveSync every minute. If DriveSync is started, but a sync is already in progress then the program will terminate and let the sync finish. You can also redirect the software's output into a log file so you can keep track of what is being synced or any errors that might occur: ruby path/to/drivesync/drivesync.rb > /tmp/drivesync.log

Large files

Personally, I wouldn't advise automatically syncing "large" (anything in the several hundred MB range) files between platforms with this or any other software. By default, DriveSync will ignore any file above 512 MB but this can be changed in the config file. If you do this, you may have to increase the timeout threshold which can also be done in the config file.

Troubleshooting

If you encounter any difficulties, feel free to open an issue here and I'll get to you as soon as possible. Alternatively, running ruby drivesync.rb reset will reset your installation and clear your local drive folder, which might also help.

Known Issues

  • The Google Drive filesystem allows folders or files with identical paths, while common Linux filesystems do not. I strongly advice against having multiple files with identical paths on Drive (for example a folder with two files called foo.txt).

  • Currently, DriveSync ignores Google Docs files (documents, presentations, spreadsheets, etc). In the future, these files might be "downloaded" as links to the corresponding files on Drive.

  • Folders are not deleted remotely if they are deleted locally. The contents will be deleted, however.

Disclaimer

Neither I nor this software are in any way affiliated with Google. Although I tested this software very thoroughly and have been using it myself for over a year without any loss of data, you agree to use DriveSync at your own risk and I am not responsible for any damages that may occur.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].