Hello :)

I am trying to set up an encrypted gdrive connection in rclone.

For some reason, it won’t upload to gdrive when I use the crypt remote, but it works fine when i use just the gdrive remote.

When I use the crypt remote, it simply created a folder called the gdrive remote name, then uploads everything encrypted to there with a directory called whatever remote name i use for the remote crypt. I’m probably not explaining very well.

/media/drive/drive/docs$ ll

total 19112

drwxrwxr-x 30 osanna osanna    4096 Jul  5 05:37  ./

drwxrwxr-x  3 osanna osanna  4096 Jul  5 05:33  ../

-rw-rw-r--  1 osanna osanna 123794 Jul  4 22:19  106.nClDs-5357-30-32_45.78.43-DpCGpC.EIE

-rw-rw-r--  1 osanna osanna   596291 Jul  5 01:17  11.HE.DKCruHI

-rw-rw-r--  1 osanna osanna  176385 Jul  5 01:17 '120.ozRRVNQCR BNOX.JCAW'

-rw-rw-r--  1 osanna osanna    11444 Jul  5 01:44 '14.nGMBMExw 2.HwL'

-rw-rw-r--  1 osanna osanna   182000 Jul  5 01:17  157.bmEEIADpE.wpnJ

-rw-rw-r--  1 osanna osanna   94588 Jul  4 14:37  163.827663.HFy

-rw-rw-r--  1 osanna osanna     8612 Jul  5 01:13  178.rmAA.FtAF

my rclone.config:

[drive]

type = drive

token = {"access_token":"[redacted]","token_type":"Bearer","refresh_token":"[redacted[,"expiry":"2026-07-05T06:26:08.783447+08:00","expires_in":3599}

team_drive = 

[drivecrypt]

type = crypt

remote = drive

password = [redacted]

filename_encryption = obfuscate

directory_name_encryption = false

The command I’m using is this:

/media/drive$ rclone copy files drivecrypt:docs/

Anyone got any idea? I’m losing my mind here.

TIA :)

  • osanna@lemmy.vgOP
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    5 hours ago

    ah, I fixed it. For anyone interested, crypt remotes need a : on the end. So remote: drive: is correct, not remote: drive

    I’ve been at this for hours. finally fixed the damn thing.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 hours ago

      Well, I’m glad we could help you work through both your problems. It was a good day tater,

  • osanna@lemmy.vgOP
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    sorry, tried formatting it. How the fuck does code formatting work on lemmy??