Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#814448: RFP: grive2 -- Google Drive client with support for new Drive REST API and partial sync

9 views
Skip to first unread message

Jochen Kemnade

unread,
Feb 11, 2016, 11:50:03 AM2/11/16
to
Package: wnpp
Severity: wishlist

* Package name : grive2
Version : 0.5.0
Upstream Author : Vitaliy Filippov <vit...@yourcmc.ru>
* URL : http://yourcmc.ru/wiki/Grive2
* License : GPL
Programming Lang: C++
Description : Google Drive client with support for new Drive REST API and partial sync

This is the fork of original "Grive" (https://github.com/Grive/grive) Google Drive client with the support for the new Drive REST API and partial sync.

Grive can be considered still beta or pre-beta quality. It simply downloads all the files in your Google Drive into the current directory. After you make some changes to the local files, run grive again and it will upload your changes back to your Google Drive. New files created locally or in Google Drive will be uploaded or downloaded respectively. Deleted files will also be "removed". Currently Grive will NOT destroy any of your files: it will only move the files to a directory named .trash or put them in the Google Drive trash. You can always recover them.

Petter Reinholdtsen

unread,
Sep 24, 2018, 10:30:03 AM9/24/18
to
I had a look at this package today, and it seem to be useful for keeping a local and
remote Google drive storage in sync.

A draft package is available from the Ubuntu ppa. I downloaded
https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8/+sourcefiles/grive2/0.5.1-1+git20180819~webupd8~bionic0/grive2_0.5.1-1+git20180819~webupd8~bionic0.dsc
to test the package.

The ppa package fail to start automatically because it only provide systemd user services.
I wrote a simple ~/.config/autostart/grive.desktop file to get it going when the user log
in:

[Desktop Entry]
Name=Google drive autosync
Type=Application
Exec=/home/user/bin/grive-sync

The script look like this:

#!/bin/sh
set -e
cd ~/
while true; do
if ! xhost >/dev/null 2>&1 ; then
echo "no DISPLAY, exiting $0"
exit 1
fi
if [ ! -e /run/user/1000/grive-sync.sh_googledrive ] ; then
/usr/lib/grive/grive-sync.sh sync googledrive
fi
/usr/lib/grive/grive-sync.sh listen googledrive
sleep 300
done

If you want to maintain it in Debian, I would be happy to sponsor your upload. See
<URL: http://www.hungry.com/~pere/debian-sponsoring.html > for my preferences.
--
Happy hacking
Petter Reinholdtsen
0 new messages