What is the problem you are having with rclone?
Duplicate folders when copying to crypt inside Google Drive (for school)
What is your rclone version (output from rclone version
)
rclone v1.50.2
- os/arch: linux/amd64
- go version: go1.13.6
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux version 5.4.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 9.2.1 20200
203 (Debian 9.2.1-28)) #1 SMP Debian 5.4.19-1 (2020-02-13)
Which cloud storage system are you using? (eg Google Drive)
Google Drive and Crypt
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy ~/MyPrivateFolder SchoolDrive-crypt:/crypt
I also tried the following:
rclone copy ~/MyPrivateFolder SchoolDrive-crypt:/crypt
rclone copy ~/MyPrivateFolder SchoolDrive-crypt:/
rclone copy ~/MyPrivateFolder SchoolDrive-crypt:/mybackup
rclone copy ~/MyPrivateFolder SchoolDrive:/mybackup
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
~> rclone -vv copy /tmp/auto/ SchoolDrive-crypt:/crypt
2020/02/29 17:28:35 DEBUG : rclone: Version "v1.50.2" starting with parameters ["rclone" "-vv" "copy" "/tmp/auto/" "SchoolDrive-crypt:/crypt"]
2020/02/29 17:28:35 DEBUG : Using config file from "/home/hyiltiz/.config/rclone/rclone.conf"
2020/02/29 17:28:35 DEBUG : SchoolDrive: Loaded invalid token from config file - ignoring
2020/02/29 17:28:35 DEBUG : SchoolDrive: Saved new token in config file
2020/02/29 17:28:36 INFO : Encrypted drive 'SchoolDrive-crypt:/crypt': Waiting for checks to finish
2020/02/29 17:28:36 INFO : Encrypted drive 'SchoolDrive-crypt:/crypt': Waiting for transfers to finish
2020/02/29 17:28:39 INFO : somefile.el: Copied (new)
2020/02/29 17:28:39 INFO :
Transferred: 152 / 152 Bytes, 100%, 58 Bytes/s, ETA 0s
Errors: 0
Checks: 0 / 0, -
Transferred: 1 / 1, 100%
Elapsed time: 2.6s
2020/02/29 17:28:39 DEBUG : 9 go routines active
2020/02/29 17:28:39 DEBUG : rclone: Version "v1.50.2" finishing with parameters ["rclone" "-vv" "copy" "/tmp/auto/" "SchoolDrive-crypt:/crypt"]
All of the following fail with essentially the same debug outputs. When I check SchoolDrive (a google drive at a school domain) via its web interface, I found there were multiple folders mybackup
.
rclone -vv lsd SchoolDrive-crypt:/
rclone -vv lsd SchoolDrive-crypt:/crypt # or this command
rclone -vv lsd SchoolDrive-crypt: # or this command
rclone -vv lsd SchoolDrive:/mybackup # or this command
rclone -vv lsd SchoolDrive:mybackup # or this command
Output of the first one above
2020/02/29 17:37:08 DEBUG : rclone: Version "v1.50.2" starting with parameters ["rclone" "-vv" "lsd" "SchoolDrive-crypt
:/crypt"]
2020/02/29 17:37:08 DEBUG : Using config file from "/home/hyiltiz/.config/rclone/rclone.conf"
2020/02/29 17:37:09 ERROR : : error listing: directory not found
2020/02/29 17:37:09 Failed to lsd with 2 errors: last error was: directory not found
rclone config dump
~> rclone config dump
{
"SchoolDrive": {
"acknowledge_abuse": "true",
"client_id": "xxxxx.apps.googleusercontent.com",
"client_secret": "xxxx",
"root_folder_id": "xxxxx",
"scope": "drive",
"shared_with_me": "true",
"token": "{\"access_token\":\"xxxx\",\"token_type\":\"Bearer\",\"refresh_token\":\"xxxx\",\"expiry\":\"2020-02-29T18:28:34.778074938-05:00\"}",
"type": "drive"
},
"SchoolDrive-crypt": {
"directory_name_encryption": "true",
"filename_encryption": "standard",
"password": "xxxx",
"password2": "xxxx",
"remote": "SchoolDrive:/mybackup",
"type": "crypt"
}
}