I am using rclone to access shared files on my google drive.
For example a Google Drive user shares two folder that has the same name. Hence, I am unable to access those both folders through rclone; I am only able to obtain the latest shared folder.
Those two folders are shared with my Google Drive.
$ ls foo
hello.txt
$ ls foo
goodbye.txt
On my rclone, I can only obtain the latest shared folder :
$ rclone ls remote: --drive-shared-with-me
201942 foo/hello.txt
201942 foo/hello.txt
$ rclone ls remote:foo --drive-shared-with-me
goodbye.txt
I don’t think so. They look to rclone like duplicates. There is an issue on enhancing rclone to deal with duplicates which might help as then you could select which copy to deal with
I was using (https://github.com/gdrive-org/gdrive) that was allowing me to download folder through their unique ID: gdrive download --recursive ID_of_the_folder. I guess that option is not available through rclone.
$ gdrive list
Id Name Type Size Created
14IC1hufjb5WArh_75_G_dvmZgmlIK50V doo bin 2019-03-22 16:37:27
1veladRJ4mfm6t0W9mntb8FILG-fqgQH2 doo bin 2019-03-22 16:37:00
As I understand, if there is duplicated shared folders with same folder name, I could only view the latest shared folder.
$ rclone ls remote: --drive-root-folder-id='1xnGc-FFWgYu2xflIWg9lYjnqWkyb0siR'
$ rclone ls remote:b5431f59c7a6fbcc2003362227044d07 --drive-root-folder-id='1xnGc-FFWgYu2xflIWg9lYjnqWkyb0siR'
2019/03/26 13:57:47 ERROR : : error listing: directory not found
2019/03/26 13:57:47 Failed to ls: directory not found