What is the problem you are having with rclone?
I want to backup files from GDrive and tried rclone. I can list a directory (with rclone ls) but I can't copy or sync it.
What is your rclone version (output from rclone version
)
v1.54.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 Bit
Microsoft Windows [Version 10.0.18363.1316]
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
I'm using PowerShell
.\rclone.exe copy GDrive-c:share_inxxx\_my-App\export_test D:\Download\rclone-test\ -vv
The rclone config contents with secrets removed.
[GDrive-xxxxxx]
type = drive
client_id = XXXX
client_secret = XXXX
scope = drive.readonly
A log from the command with the -vv
flag
rclone copy
PS D:\opt\rclone\rclone-v1.54.0-windows-amd64> .\rclone.exe copy GDrive-xxxxxx:share_inxxx\_my-App\export_test D:\Download\rclone-test\ -vv
2021/02/10 13:16:22 DEBUG : rclone: Version "v1.54.0" starting with parameters ["D:\\opt\\rclone\\rclone-v1.54.0-windows-amd64\\rclone.exe" "copy" "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test" "D:\\Download\\rclone-test\\" "-vv"]
2021/02/10 13:16:22 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2021/02/10 13:16:22 DEBUG : Creating backend with remote "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test"
2021/02/10 13:16:23 DEBUG : Google drive root 'share_inxxx/_my-App/export_test': root_folder_id = "0ANLD67QNQ2tbUk9PVA" - save this in the config to speed up startup
2021/02/10 13:16:25 DEBUG : fs cache: renaming cache item "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test" to be canonical "GDrive-xxxxxx:share_inxxx/_my-App/export_test"
2021/02/10 13:16:25 DEBUG : Creating backend with remote "D:\\Download\\rclone-test\\"
2021/02/10 13:16:25 DEBUG : fs cache: renaming cache item "D:\\Download\\rclone-test\\" to be canonical "//?/D:/Download/rclone-test/"
2021/02/10 13:16:25 ERROR : : error reading source directory: directory not found
2021/02/10 13:16:25 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:16:25 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:16:25 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2021/02/10 13:16:25 ERROR : : error reading source directory: directory not found
2021/02/10 13:16:25 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:16:25 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:16:25 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2021/02/10 13:16:26 ERROR : : error reading source directory: directory not found
2021/02/10 13:16:26 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:16:26 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:16:26 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2021/02/10 13:16:26 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 3.5s
2021/02/10 13:16:26 DEBUG : 4 go routines active
2021/02/10 13:16:26 Failed to copy: directory not found
rclone ls
PS D:\opt\rclone\rclone-v1.54.0-windows-amd64> .\rclone.exe ls GDrive-xxxxxx:share_inxxx\_my-App\export_test -vv
2021/02/10 13:24:42 DEBUG : rclone: Version "v1.54.0" starting with parameters ["D:\\opt\\rclone\\rclone-v1.54.0-windows-amd64\\rclone.exe" "ls" "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test" "-vv"]
2021/02/10 13:24:42 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2021/02/10 13:24:42 DEBUG : Creating backend with remote "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test"
2021/02/10 13:24:43 DEBUG : Google drive root 'share_inxxx/_my-App/export_test': root_folder_id = "0ANLD67QNQ2tbUk9PVA" - save this in the config to speed up startup
2021/02/10 13:24:44 DEBUG : fs cache: renaming cache item "GDrive-xxxxxx:share_inxxx\\_my-App\\export_test" to be canonical "GDrive-xxxxxx:share_inxxx/_my-App/export_test"
-1 Doküment von anderem User.docx
-1 Export Täst Docüment.docx
7917 besetztes Verzeichnis mit Umläuten/bild von anderen nützer.png
16526816 besetztes Verzeichnis mit Umläuten/umläutün.png
2021/02/10 13:24:44 DEBUG : 6 go routines active
rclone sync
PS D:\opt\rclone\rclone-v1.54.0-windows-amd64> .\rclone.exe -i sync GDrive-xxxxxx:\share_inxxx\_my-App\export_test\ D:\Download\rclone-test\ -vv
2021/02/10 13:25:41 DEBUG : rclone: Version "v1.54.0" starting with parameters ["D:\\opt\\rclone\\rclone-v1.54.0-windows-amd64\\rclone.exe" "-i" "sync" "GDrive-xxxxxx:\\share_inxxx\\_my-App\\export_test\\" "D:\\Download\\rclone-test\\" "-vv"]
2021/02/10 13:25:41 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2021/02/10 13:25:41 DEBUG : Creating backend with remote "GDrive-xxxxxx:\\share_inxxx\\_my-App\\export_test\\"
2021/02/10 13:25:42 DEBUG : Google drive root 'share_inxxx/_my-App/export_test': root_folder_id = "0ANLD67QNQ2tbUk9PVA" - save this in the config to speed up startup
2021/02/10 13:25:43 DEBUG : fs cache: renaming cache item "GDrive-xxxxxx:\\share_inxxx\\_my-App\\export_test\\" to be canonical "GDrive-xxxxxx:share_inxxx/_my-App/export_test"
2021/02/10 13:25:43 DEBUG : Creating backend with remote "D:\\Download\\rclone-test\\"
2021/02/10 13:25:43 DEBUG : fs cache: renaming cache item "D:\\Download\\rclone-test\\" to be canonical "//?/D:/Download/rclone-test/"
2021/02/10 13:25:44 ERROR : : error reading source directory: directory not found
2021/02/10 13:25:44 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:25:44 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:25:44 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting files as there were IO errors
2021/02/10 13:25:44 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting directories as there were IO errors
2021/02/10 13:25:44 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2021/02/10 13:25:44 ERROR : : error reading source directory: directory not found
2021/02/10 13:25:44 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:25:44 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:25:44 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting files as there were IO errors
2021/02/10 13:25:44 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting directories as there were IO errors
2021/02/10 13:25:44 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2021/02/10 13:25:45 ERROR : : error reading source directory: directory not found
2021/02/10 13:25:45 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for checks to finish
2021/02/10 13:25:45 DEBUG : Local file system at //?/D:/Download/rclone-test/: Waiting for transfers to finish
2021/02/10 13:25:45 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting files as there were IO errors
2021/02/10 13:25:45 ERROR : Local file system at //?/D:/Download/rclone-test/: not deleting directories as there were IO errors
2021/02/10 13:25:45 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2021/02/10 13:25:45 NOTICE:
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 3.5s
2021/02/10 13:25:45 DEBUG : 4 go routines active
2021/02/10 13:25:45 Failed to sync: directory not found