Disable file converstion with two way Google Drive Sync

English Support for Syncovery on Linux etc.
Post Reply
IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Disable file converstion with two way Google Drive Sync

Post 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

tobias
Posts: 1857
Joined: Tue Mar 31, 2020 7:37 pm

Re: Disable file converstion with two way Google Drive Sync

Post 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.

IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Re: Disable file converstion with two way Google Drive Sync

Post 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?

tobias
Posts: 1857
Joined: Tue Mar 31, 2020 7:37 pm

Re: Disable file converstion with two way Google Drive Sync

Post 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".

IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Re: Disable file converstion with two way Google Drive Sync

Post 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.

IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Re: Disable file converstion with two way Google Drive Sync

Post 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?

IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Re: Disable file converstion with two way Google Drive Sync

Post 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

tobias
Posts: 1857
Joined: Tue Mar 31, 2020 7:37 pm

Re: Disable file converstion with two way Google Drive Sync

Post by tobias »

Maybe in a future version, yes.

IMTheNachoMan
Posts: 129
Joined: Sun Nov 20, 2022 5:11 am

Re: Disable file converstion with two way Google Drive Sync

Post 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 &

Post Reply