Are you a Google Drive user fond of the Linux backup utility rsync? Developer Craig Phillips is working on a utility that closely mimics the rsync lingo – GSync. The tool is written in python and runs from the cmdline like rsync. Craig intends to offer the functional implementation of rsync and as well as the same features, enabled or disabled through a similar interface of cmdline options.
Note that Grive is a similar utility but the problem with the preloading design of Grive is it tends to fail for larger files. GSync on the other hand tries to process directories depth first and sequentially in order to allow synchronisation to occur immediately.
The preferred method of installation is through pip. Run the following commands to install GSync on Ubuntu:
$ sudo apt-get install python-setuptools $ sudo easy_install pip $ sudo pip install gsync
$ sudo pip install --upgrade gsync
You need to authenticate GSync with Google Drive once. Run
$ gsync --authenticate
If you face any issues with authentication, fetch the latest source as mentioned by David in the comments section.
As mentioned earlier, the options are similar to rsync:
-v : enable verbose output -q : suppress non-error messages -c : skip based on checksum, not mod-time & size -r : recurse into directories -R : use relative path names -u : skip files that are newer on the receiver -d : transfer directories without recursing -g : preserve group -o : preserve owner (super-user only) -p : preserve permissions -i : output a change-summary for all updates --progress : show progress during transfer --debug : enable debug output
- drive (from an ex-Google employee)