I have configured rclone with Google drive and things initially looked good. However when syncing Google drive to a local folder, several folders are not downloaded. What is more strange is that I can see those folders when I use rclone tree command.
But then when using rclone sync, folder 2 and folder 3 are not downloaded.
Edit 1:
I did try different things. One thing I noticed is that doing rclone tree gdrive: with and and without --drive-shared-with-me gives a completely different structure of the files. I expected adding --drive-shared-with-me would keep the structure of the folders, but have additional files and folder which are those that have been shared with me. For example, rclone tree gdrive: --drive-shared-with-me does not show folder2 and folder 3.
What is your rclone version (output from rclone version)
v1.51.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 20.04
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)
Thanks. I couldn't figure out how to use union with and without --drive-shared-with-me options. I think I will just run the command twice. Please let me know if you come across an example using union with different options.
You can create two remotes for your drive and add this:
shared_with_me = true
into one of them. Then you can combine those two remotes with a union remote. If you use rclone config in the advanced settings it will walk you through setting that as well.