When I mounted my Google Drive, it takes like an hour to do a file name search on the drive in Windows Explorer. I just want to do a word search on videos and pic file names, no document content. How to make these searches as fast as going to Google Drive and type in the search box as in Windows Explorer? I use Windows 10 64bits
What is your rclone version (output from rclone version)
v1.56.0
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)
rclone mount --vfs-cache-mode off --cache-dir local:/temp/ remote:/ local:/mount
rclone maintains a cache for the directory and file names.
normally, rclone builds that on the fly as you navigate into a folder.
let's say that i start my rclone mount and need emby to re-scan the entire thing to looks for new media files.
that can take a very long time for rclone to navigate the entire dir/file structure of the remote.
so before i have emby scan do that scan, i have rclone pre-cache the file details.
now, when emby scans for new media, all that needed info in local on the machine and that scan goes very fast.
add --rc the the mount command
after the mount is running, do rclone rc vfs/refresh recursive=true
local:/temp/, unless there is a specific reason to use a remote, just use the local path.
for example, c:\temp
By the way, does this "rc" commend temporary folder needs to be remained there after rclone closes in order to have that data again at the next rclone startup? Reason I asking this is that my temp drive is a RAM drive that deletes with every computer restarts.
Maybe I am doing this wrong but. I applied my first line in a cmd window. That cmd window now could no longer accept new commends, so I open another commend windows pointing to my rclone and applied the second line with the "rc" commend.
If this was indeed the correct way to apply the second commend, then it didn't work. My searches were just as slow as before.
as long as a command is running, the cmd window will not accept new commands.
to work around that prefix the command with start start rclone mount ....
might want to add --no-console to the rclone mount command.
since you are not using a log file, would not use --no-console.
start forks the rclone mount and returns immediately before the rclone mount is active.
so there is a chance that rclone rc will try to access a mount that is not ready and error out.
i would add timeout /t 20 between the rclone mount and the rclone rc
The throttling here seems to be happening while the refresh command is running. We need to know if it ever completes successfully. OP, you should see a status of "OK" at the end. Searching should not be slow at all once priming is done. I regularly search through tens of thousands of files and folders.
good point, the truth is i made a choice to pretend not to notice.
that i would miss something we know could not happen
so it must be that, i set a trap for you, yes, yes, now that i am thinking about it....
from a lurking vigilante in the background to a poster in public
i know of your experience with vfs/refresh and gdrive, i deflected, made mention about the need for a client id, without mention that the pacer began after that vfs/refresh
it all makes perfect sense to me!
now, back to reality.
in your rclone vfs/refresh commands, there are no flags to deal with pacer issues, correct?
given that the OP has not posted the config, do you think having a client id would resolve that or should the OP add some flags?
The google drive I am connecting is a shared drive and it usually runs into bandwidth limits. By reading what is written in this thread, I guess I can do nothing about the slow search when google is throttling my connection. It is kinda stupid that I cannot use Explorer to find files simply by file names.