If I only use rclone to write and read a particular Google Drive area, then the issue of shortcuts is moot and has no impact on me, correct?
In my case I am strictly using the GD area for backups via rclone.
Thanks for all the work!
If I only use rclone to write and read a particular Google Drive area, then the issue of shortcuts is moot and has no impact on me, correct?
In my case I am strictly using the GD area for backups via rclone.
Thanks for all the work!
Ha! I think the original multiple parents idea was the bad one - that can easily cause data loss if you are careless. Shortcuts are OK but do add complication.
I think if you don't have stuff with multiple parents then you'll be fine. Most people don't - the SHIFT-Z is quite obscure.
Thanks for testing
How did you create that invalid shortcut?
In what way does rclone not work?
Did rclone produce an ERROR? Can paste the error message?
I tried making some invalid shortcuts by deleting the target. Rclone ignored them in all cases I could find.
I think if you didn't create any shortcuts or duplicate folders with SHIFT-Z then you can ignore them completely.
Yes - well done for not getting tempted into trying shift-Z.
Thanks @ncw and @Edward_Barker -- I can now rest easy
use A and B account. B share the folder by using:
On - Anyone with the link: Anyone who has the link can use your file, without signing in to their Google Account.
A add the shortcut and then B cancel the permission.
It will be a invalid shortcut.
If path have a invalid shortcut
the log will like this.
2020-04-20 12:31:48 ERROR : shirt_z: error reading source directory: list: faile
d to resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs
9poV2qZGci_GHf., notFound
2020-04-20 12:31:48 DEBUG : Google drive root 'test/test_2': Waiting for checks
to finish
2020-04-20 12:31:48 DEBUG : Google drive root 'test/test_2': Waiting for transfe
rs to finish
2020-04-20 12:31:48 INFO : There was nothing to transfer
2020-04-20 12:31:48 ERROR : Attempt 1/3 failed with 1 errors and: list: failed t
o resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs9po
V2qZGci_GHf., notFound
2020-04-20 12:31:52 ERROR : shirt_z: error reading source directory: list: faile
d to resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs
9poV2qZGci_GHf., notFound
2020-04-20 12:31:52 DEBUG : Google drive root 'test/test_2': Waiting for checks
to finish
2020-04-20 12:31:52 DEBUG : Google drive root 'test/test_2': Waiting for transfe
rs to finish
2020-04-20 12:31:52 INFO : There was nothing to transfer
2020-04-20 12:31:52 ERROR : Attempt 2/3 failed with 1 errors and: list: failed t
o resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs9po
V2qZGci_GHf., notFound
2020-04-20 12:31:53 ERROR : shirt_z: error reading source directory: list: faile
d to resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs
9poV2qZGci_GHf., notFound
2020-04-20 12:31:53 DEBUG : Google drive root 'test/test_2': Waiting for checks
to finish
2020-04-20 12:31:53 DEBUG : Google drive root 'test/test_2': Waiting for transfe
rs to finish
2020-04-20 12:31:53 INFO : There was nothing to transfer
2020-04-20 12:31:53 ERROR : Attempt 3/3 failed with 1 errors and: list: failed t
o resolve shortcut: googleapi: Error 404: File not found: 177eLis9xJ5y_eQkjzs9po
V2qZGci_GHf., notFound
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/04/20 12:31:53 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s
2020/04/20 12:31:53 DEBUG : 8 go routines active
2020/04/20 12:31:53 Failed to copy: list: failed to resolve shortcut: googleapi:
Error 404: File not found: 177eLis9xJ5y_eQkjzs9poV2qZGci_GHf., notFound
You get 404s for any shared items in Google Drive when you don't have permissions.
Ah ok - thanks.
What does everyone think rclone should do here?
Report the error as it is? This is analogous with rsync as in if you have a dangling symlink then rsync will copy everything else and report an error at the end.
Skip shortcuts that don't resolve. If you are syncing then having a shortcut disappear for any reason will mean that rclone deletes the copy you have on the destination.
I'm probably in favour of option 1 but would like to see what others think.
option 1. If you don't report it, the user might not even know and think its being managed. With 2 you've deleted your copies which may not be expected. That could be bad.
I prefer option 1. it's good.
Adding link here to the issue page and further discussion about Google Drive Shortcuts.
For those who start at the bottom.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.