I would like to know if it's possible to to cache empty folders. Right now with my current settings folders are only created in the /home/rclonecache if there are files inside those folders to be cached.
ExecStart=/usr/bin/rclone mount Google: /home/files --allow-non-empty \
--allow-other \
--cache-dir /home/rclonecache \
--vfs-read-chunk-size 512M \
--vfs-cache-mode full
What do I need to add so all folders will be cached before synced to my Google drive?
Would disabling --allow-non-empty cause issues with hidden folders?
The reason why is because without caching files/folders with Google drive limit of 2 files/folders being created per second it's causing timeout errors.
Allow non empty allows you to mount on a directory that has existing files in it, which is 99.9% of the time is bad as you've now hidden those files and can't see them.
Things should retry as without a log, it's just a guessing game to what the issue is.
If you want the VFS cache to know about the empty folders you'll have to use the rc to call vfs/refresh - this will then cause rclone to know about all the empty folders and the directory structure.