Page 1 of 1

Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 8:15 pm
by IMTheNachoMan
I'm doing a two way sync of files on my Linux box with my Google Drive.

I have Enable Document Conversion disabled but it still converts Google Doc files.

Image

Image

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 8:52 pm
by tobias
Hi,

I will check it. With these settings it should skip the files.

But of course it won't skip a local png file.

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 9:13 pm
by IMTheNachoMan
What do you mean it won't skip a local png file?

When you say it should skip those files, do you mean it would not download Google Doc files from Google Drive?

Is there a way to make .lnk/.url files locally that point to the Google Drive file such that when I open them from KDE, they open my browser to that URL?

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 10:18 pm
by tobias
Hello,
there is no way to copy a native Google Doc from one Google Drive to another, except by converting it on download and then again on upload. You should work with Shared Folders instead.

Yes Syncovery can create links instead, see the checkmark "Create Links to Online Docs".

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 10:21 pm
by IMTheNachoMan
I was thinking of copying it as a .gdoc file like Google Drive app for Windows does.

I tried the create links option, but the file doesn't seem to be shortcut my computer understands. Let me try again.

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 10:47 pm
by IMTheNachoMan
Okay, so I figured it out.

Syncovery is creating Windows style URL files but Linux does not understand them.

Is there a way to get it to create Linux URL files?

Re: Disable file converstion with two way Google Drive Sync

Posted: Sat Feb 17, 2024 10:59 pm
by IMTheNachoMan
It looks like Syncovery creates a drive URL instead of the appropriate Docs/Sheets URL. Is it possible to change that behavior?

For example, it creates this:

Code: Select all

[InternetShortcut]
URL=https://drive.google.com/file/d/1xvkhxAgHnFPZEJNOd5h2ThCqzjzj2mE7hPmZ1X8uUVY
I'm hoping I can get it to create this:

Code: Select all

[InternetShortcut]
URL=https://docs.google.com/document/d/13dBbChOzBOZHr-betdor6-IVjn8QaQbdfTEZ1LHh9dA

Re: Disable file converstion with two way Google Drive Sync

Posted: Sun Feb 18, 2024 3:54 pm
by tobias
Maybe in a future version, yes.

Re: Disable file converstion with two way Google Drive Sync

Posted: Mon Feb 19, 2024 3:07 pm
by IMTheNachoMan
tobias wrote:
Sun Feb 18, 2024 3:54 pm
Maybe in a future version, yes.
Got it.

If it helps someone else, here is how I fixed this for now.

I created the following BASH script and told my file explorer to open .url files with this script.

Code: Select all

#!/bin/bash
grep -h -s --color=never '^URL=' "$@" | cut -d'=' -f2- | xargs sensible-browser &