What is the problem you are having with rclone?
I'm attempting to move files from a users My Drive folder to a Shared Drive. There are folders within folders and shortcuts to folders involved which makes this all a little complex. Some files not copying due to a Dangling Shortcut error.
Other files in the same folder copy successfully. There doesn't appear to be any difference between file permissions in these folder. My understanding is that the Dangling Shortcut error indicates a broken shortcut.
This folder (Submission 2) is located via a shortcut however I assumed either all files would copy across or none.
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.0
- os/version: Microsoft Windows Server 2022 Standard 21H2 (64 bit)
- os/kernel: 10.0.20348.1787 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- 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 copy --drive-impersonate lorXXXXX usergdrive:"NAC" NAC: --log-file=LoToNAC1.txt --log-level NOTICE
The rclone config contents with secrets removed.
[SNAC]
type = drive
scope = drive
token = {"access_token":"removed","token_type":"Bearer","refresh_token":"removed","expiry":"2023-07-12T16:23:46.9016905+10:00"}
team_drive = removed
root_folder_id =
[usergdrive]
type = drive
scope = drive
token = {"access_token":"removed","token_type":"Bearer","refresh_token":"removed","expiry":"2023-07-06T09:29:27.0363328+10:00"}
team_drive =
service_account_file = C:\rclone-v1.57.0-windows-amd64\rclone-REMOVED.json
A log from the command with the -vv
flag
//REMOVED THOUSANDS OF PREVIOUS LINES
2023/07/12 16:08:57 DEBUG : REMOVED/Submission 2/HaiAT1-GG.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)
2023/07/12 16:08:57 DEBUG : REMOVED/Submission 2/HaiAT1-GG.pdf: Unchanged skipping
2023/07/12 16:08:57 ERROR : REMOVED/Submission 2/TyrSub2GG.pdf: Failed to copy: failed to open source object: can't read dangling shortcut
2023/07/12 16:08:57 DEBUG : REMOVED/Submission 2/LorSub2GG.pdf: Size and modification time the same (differ by 0s, within tolerance 1ms)