You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to create links to google documents instead of converting it #1349
When syncing with Google Drive, would it be possible to add an option so that links to google documents are created instead of converting the files? Double clicking on the file should then open the browser with the relevant file. I believe this is how it works when using the official Drive client by Google. This should be similar to how "--drive-skip-gdocs" works.
My suggestion is to create a similar file that natively opens the link in the browser. It's not ideal to edit my Google documents in Libre office and uploading it back to Google Drive.
This also works for other Drive but not Docs files like Zoho's ones, etc...
I'm movimng from odeke-em/drive to rclone and I'm missing this feature... so +1 to this feature!!
👍 for this,
as this is how the official Google Drive Stream client behaves on Windows (= double-clicking onto native Google file opens a web browser with the Google file).
Would be great if this client behaved the same way! I am now looking for some good working alternative to Google Drive Stream, but not yet successfully because of this :(
In short: Not having this option completely breaks Google Drive sync for me (which I need for other programs). RClone sees Google documents as having file size -1 and doesn't properly copy back and forth, that messes up RCloneSync, which fails to build a file index that is needed for two-way sync.
Activity
ncw commentedon Apr 18, 2017
How does that actually work? What type of file is created and what is in it? I suspect this intercepted by the google drive client somehow.
pckapps commentedon Apr 18, 2017
Yes, the Google Drive client creates a file called "WorkbookName.gsheet". Inside is simple json, something like this:
My suggestion is to create a similar file that natively opens the link in the browser. It's not ideal to edit my Google documents in Libre office and uploading it back to Google Drive.
What do you think?
agilmor commentedon Feb 16, 2018
The solution/alternative that odeke-em/drive client does is to create a
.desktopfor all google docs with this fields:I guess that it's the same idea, but for Linux.
This also works for other Drive but not Docs files like Zoho's ones, etc...
I'm movimng from odeke-em/drive to rclone and I'm missing this feature... so +1 to this feature!!
Thanks!
crysman commentedon Jun 26, 2018
👍 for this,
as this is how the official Google Drive Stream client behaves on Windows (= double-clicking onto native Google file opens a web browser with the Google file).
Would be great if this client behaved the same way! I am now looking for some good working alternative to Google Drive Stream, but not yet successfully because of this :(
ncw commentedon Jun 26, 2018
Does anyone want to work on this issue?
I'm happy to talk people through what needs to be done.
B4dM4n commentedon Jul 27, 2018
I have looked a bit into this issue while working on Google documents uploads.
It seems like there are different concepts of
linkfiles:Windows and macOS have
.urlfiles.Source: stackoverflow
macOS also has
.weblocfiles.Source: stackoverflow
Linux has
.desktopfiles.Source: stackoverflow
A simple cross platform solution could use
.htmlfiles:Source: stackoverflow
To be cross platform compatible we should implement at least
.htmlfiles and probably.urland.desktopfiles for native users.I will try to integrate this into my current work at uploading documents.
Fabian42 commentedon Jul 28, 2018
Comment history:
Part 1: https://github.com/cjnaz/RCloneSync/issues/22
Part 2: cjnaz/rclonesync-V2#1
Part 3: #2413
In short: Not having this option completely breaks Google Drive sync for me (which I need for other programs). RClone sees Google documents as having file size -1 and doesn't properly copy back and forth, that messes up RCloneSync, which fails to build a file index that is needed for two-way sync.
ncw commentedon Jul 31, 2018
@Fabian42 there is always this flag
which will make syncs work properly just skipping the google docs.
B4dM4n commentedon Sep 1, 2018
There has been progress for this issue:
#2479 is a work in progress rewrite of the drive documents handling.
If anyone wants to help testing the new implementation, there is a beta branch containing the changes: https://beta.rclone.org/branch/v1.42-162-g6a66967c-drive-documents/
Keep in mind this is not tested thoroughly yet and therefore be considered experimental.
Please post any feedback in #2479. Updated releases will also be anounced there.
B4dM4n commentedon Oct 4, 2018
#2479 has been merged lately.
This feature can be used since https://beta.rclone.org/v1.43-112-ga20fae03-beta/, the latest beta and in v1.44