Command copid not found

What is the problem you are having with rclone?

I am trying to copy files with their file id from an encrypted team drive, but rclone is giving me an error. I tried to run the command on both Ubuntu and Windows, but the result was the same.

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: ubuntu 18.04 (64 bit)
  • os/kernel: 5.4.0-91-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

rclone v1.57.0

  • os/version: Microsoft Windows 10 Enterprise LTSC 2019 1809 (64 bit)
  • os/kernel: 10.0.17763.2366 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Google Drive, Encrypted Team Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone backend copyid cryp: 1RYvRA54srmIB_8eNljPFaV8pW5w11_Hn ~/Downloads -vv

A log from the command with the -vv flag

2022/01/12 19:15:33 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "backend" "copyid" "cryp:" "1RYvRA54srmIB_8eNljPFaV8pW5w11_Hn" "/home/nina/Downloads" "-vv"]
2022/01/12 19:15:33 DEBUG : Using config file from "/home/nina/.config/rclone/rclone.conf"
2022/01/12 19:15:33 DEBUG : Creating backend with remote "gdrive:encrypted"
2022/01/12 19:15:33 DEBUG : 4 go routines active
2022/01/12 19:15:33 Failed to backend: command "copyid" failed: command not found

Another log when trying to ls the folder above:

rclone lsf cryp: --drive-root-folder-id=1EiaR-BDVAI2ImeiBEpdhihpzbZRXcf99 -vv
2022/01/12 19:26:27 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "lsf" "cryp:" "--drive-root-folder-id=1EiaR-BDVAI2ImeiBEpdhihpzbZRXcf99" "-vv"]
2022/01/12 19:26:27 DEBUG : Creating backend with remote "cryp:"
2022/01/12 19:26:27 DEBUG : Using config file from "/home/nina/.config/rclone/rclone.conf"
2022/01/12 19:26:27 DEBUG : Creating backend with remote "gdrive:encrypted"
2022/01/12 19:26:27 DEBUG : gdrive: detected overridden config - adding "{7Il6B}" suffix to name
2022/01/12 19:26:28 DEBUG : fs cache: renaming cache item "gdrive:encrypted" to be canonical "gdrive{7Il6B}:encrypted"
-position-left-01
-position-left-02
-position-left-03
-position-left-04
-position-left-05
-position-left-06
-position-left-07                                                                                                                                                                                                                           -position-left-08
        -position-left-09

-position-left-0A

-position-left-0B
-position-left-0C
-position-left-0D
-position-left-0E
-position-left-0F
-position-left-10
-position-left-11
-position-left-13
-position-left-14
-position-left-15
-position-left-17
-position-left-18
-position-left-1A
osition-left-1B
position-middle-01--
position-middle-02--
position-middle-03--
position-middle-04--
position-middle-05--
position-middle-06--
position-middle-07--
position-middle-08-
position-middle-09-     -
position-middle-0A-
-
position-middle-0B-
                   -
position-middle-0C-
-
-osition-middle-0D-
position-middle-0E--
position-middle-0F--
position-middle-10--
position-middle-11--
position-middle-12--
position-middle-13--
position-middle-14--
position-middle-15--
position-middle-16--
position-middle-17--
position-middle-18--
position-middle-1A--
position-middle-1B-
osition-middle-1C--
position-middle-1D--
position-right-01-
position-right-02-
position-right-03-
position-right-04-
position-right-05-
position-right-06-
position-right-07-
position-right-08-
position-right-09-
position-right-0A-

position-right-0B-

position-right-0C-

position-right-0E-
position-right-0F-
position-right-10-
position-right-11-
position-right-12-
position-right-14-
position-right-15-
position-right-17-
position-right-18-

hi,
works for me, and notice that i am using trailing slash for dest dir

and that -position, strange to have that , as need to run a very specific rclone command to generate that?

note: redacted output

rclone backend copyid  gdrive:zork DNGZNxKM5v4wk580HWXDzXnvL6PUR ~/dest/ -vv
2022/01/12 18:49:13 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "backend" "copyid" "gdrive:zork" "DNGZNxKM5v4wk580HWXDzXnvL6PUR" "/home/ubuntu/dest/" "-vv"]
2022/01/12 18:49:13 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2022/01/12 18:49:13 DEBUG : Google drive root 'zork': 'root_folder_id = nsu88uXytUk9PVA' - save this in the config to speed up startup
2022/01/12 18:49:14 DEBUG : Creating backend with remote "/home/ubuntu/dest/"
2022/01/12 18:49:14 DEBUG : zork.exe: md5 = c4ca4238a0b923820dcc509a6f75849b OK
2022/01/12 18:49:14 INFO  : zork.exe: Copied (new)

I assume the difference is that I am trying to run the commands on an encrypted remote.

yes, that is correct.

need to write a script to make it work.

Okay I got the files I wanted by downloading them via the command I used before, but I switched the source to the unencrypted remote gdrive:encrypted. The files I downloaded were of course encrypted, so I had to copy the config of the cryp: remote and change the path to the local path where I downloaded the files to, after which I could decrypt the encrypted files via that new remote by simply moving them to any other location on my system.

yes, that is a good workaround.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.