I don’t know if this has been tried/discovered before, but here’s a config I tried out this morning and it’s working extremely well and extremely fast for me so far. In a nutshell, I’m letting Google Drive File Stream take care of all the heavy lifting when it comes to indexing, syncing and caching my remote crypt. Then I’m using rclone running a local crypt to view/browse all of the files.
The reason for this setup is primarily so I can quickly work through a large file set using the macOS finder.
rclone config:
[local]
type = local
Just the default local setup, no config options
[secure]
type = crypt
remote = local:/Users/psmith/mnt/server
filename_encryption = standard
directory_name_encryption = true
password = *** ENCRYPTED ***
And here’s the magic.
Create a symlink in your macOS terminal to your encrypted folder that Google Drive File Stream has already indexed for you:
ahh, you’re right. I just pasted in my gdrive config in excitement. Didn’t know that about --fast-list either.
When I first tried i setup my crypt as:
local:/Volumes/GoogleDrive/My\ Drive/Server
and rclone threw an error when I tried to mount. I figured it had something to do with either the space in the folder structure or perhaps something that File Stream was doing to prevent it from working.
I’ll edit my first post to reflect your suggestions.
Yes, I have been doing this for a while on my Mac. I have some of the data in my drive encrypted with Rclone so File Stream works great for non-encrypted data but is useless for the encrypted stuff. You can “remount” it with Rclone when necessary or use a tool like Rclone browser as a GUI front-end for check and grooming files and such (though be careful with moving files with Rclone browser).