What is the problem you are having with rclone?
I need to rename some Google docs for archiving purpose but using moveto
and copyto
results in the file being converted into .docx format. Is there a way to achieve this using rclone?
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.1
- os/version: Microsoft Windows 10 Education 1909 (64 bit)
- os/kernel: 10.0.18363.2212 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.17.9
- go/linking: dynamic
- go/tags: cmount
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
)
rclone moveto drive:google_doc.docx drive:google_doc_renamed
A log from the command with the -vv
flag
2022/05/10 19:45:20 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "moveto" "drive:google_doc.docx" "drive:google_doc_renamed" "-vv"]
2022/05/10 19:45:20 DEBUG : Creating backend with remote "drive:google_doc.docx"
2022/05/10 19:45:20 DEBUG : Using config file from "C:\\Users\\Win10\\.config\\rclone\\rclone.conf"
2022/05/10 19:45:20 DEBUG : Google drive root 'google_doc.docx': 'root_folder_id = 0AFPq_i797t8ZUk9PVA' - save this in the config to speed up startup
2022/05/10 19:45:21 DEBUG : fs cache: adding new entry for parent of "drive:google_doc.docx", "drive:"
2022/05/10 19:45:22 DEBUG : google_doc.docx: Need to transfer - File not found at Destination
2022/05/10 19:45:22 DEBUG : google_doc.docx: Can't move - not same document type
2022/05/10 19:45:22 DEBUG : google_doc.docx: Can't move, switching to copy
2022/05/10 19:45:22 DEBUG : google_doc.docx: Can't copy - not same document type
2022/05/10 19:45:23 DEBUG : Google drive root '': File to upload is small (6117 bytes), uploading instead of streaming
2022/05/10 19:45:24 DEBUG : google_doc_renamed: md5 = 08c285e78032bbd0555404c616d16f38 OK
2022/05/10 19:45:24 INFO : google_doc_renamed: Copied (new)
2022/05/10 19:45:24 DEBUG : google_doc.docx: Updating size of doc after download to 6117
2022/05/10 19:45:24 INFO : google_doc.docx: Copied (Rcat, new) to: google_doc_renamed
2022/05/10 19:45:26 INFO : google_doc.docx: Deleted
2022/05/10 19:45:26 INFO :
Transferred: 11.947 KiB / 11.947 KiB, 100%, 2.989 KiB/s, ETA 0s
Checks: 2 / 2, 100%
Deleted: 1 (files), 0 (dirs)
Renamed: 1
Transferred: 3 / 3, 100%
Elapsed time: 6.4s
2022/05/10 19:45:26 DEBUG : 9 go routines active