I am in the process of creating the bat files. I have a few questions like the last bat file titled: title Rclone Mount READ/WRITE If I don't want to move things within my gdrivecrypt because I already uploaded to the final locations via rclone browser, its no point using this rclone mount READ/WRITE correct?
Currently I use this command to mount the drive, rclone -v -v -v mount gdrivecrypt: Y:
Please correct me, however what your saying is to run bat file titled: Rclone Mount READ ONLY
Than rclone -v -v -v mount gdrivecrypt: Y to mount drive on windows file explorer.
Then final command would be bat file titled: Rclone Prime
Than run plex scan?
I apologies in advance, still learning all this stuff.. As to where I am located, In US, the golden state.
If you use RcloneBrowser to move your files to their final destination, then you do not need my READ/WRITE mount, correct. You want to use the READ ONLY mount for Plex. BTW, the reason I only use one -v in my commands is that I don't need to see everything the mount is doing. I only want to see errors. So, again:
Rclone READ ONLY mount
Rclone PRIME (it will be a blank window that will only output something when it's done. If all goes smoothly, it will say "OK")
Plex scan
After discussing some things with @Animosity022 today, I modified the READ ONLY mount slightly:
@echo off title Rclone Mount READ ONLY D:\Programs\Rclone\rclone mount --attr-timeout 1000h --buffer-size 256M --dir-cache-time 1000h --poll-interval 0 --rc --read-only --timeout 1h -v Google_Drive_Crypt: G: pause
I'm sure I already know however I would like to confirm my thinking is correct
As noted above I ran the 2 commands. READ ONLY and Prime. Now being in this status, I went to rclone browser and uploaded a file. After completing the file, it displays in rclone browser however it does not on mount drive gdrivecypt Y: and plex scan doesn't pick it up.
Is this because I am in the READ ONLY command and that's why from a file explorer perspective it will not show up until I stop the READ ONLY mount via CTRL+C?
2nd question: Being in this command status Rclone Mount READ ONLY & Rclone Prime I stopped it by CTRL+C and the drive gdrivecrypt Y: is no longer under displaying under my PC.
On the command it is asking to Terminate batch job (Y/N)? What does this mean? As I am currently not uploading anything via rclone browser. Do I enter Y or N?
Do I have to run READ/WHITE then READ ONLY and than Prime to visually see the file I uploaded and resume the service where plex scan picks it up?
It's got a huge speed advantage. It depends on how many directories and object you have as the refresh has the ability to use fast-list, while the mount does not.
That's why @VBB uses the rc command as he's got a big library on Windows.
fast-list makes a big difference vs a dir/find but you need enough items and folders for it to matter as there is a time when they numbers are the same.
maybe i need to add --rc-addr 127.0.0.1:4321 but i did not need that when the mount as gdrive
but yes,
i get the OK but when i try to enter the folder it gets stuck for over one minute.
only after a dir /s, i can enter the folder instantly.
and the folder has only 5000 files of size 1 byte.
C:\data\rclone\scripts\rr\other\mount>C:\data\rclone\scripts\rr\other\mount\rclone-v1.51.0-264-g2696e369-fix-4104.exe rc vfs/refresh recursive=true --fast-list -vv
2020/05/05 15:10:48 DEBUG : rclone: Version "v1.51.0-264-g2696e369-fix-4104-cwd-disappears-beta" starting with parameters ["C:\\data\\rclone\\scripts\\rr\\other\\mount\\rclone-v1.51.0-264-g2696e369-fix-4104.exe" "rc" "vfs/refresh" "recursive=true" "--fast-list" "-vv"]
{
"result": {
"": "OK"
}
}
2020/05/05 15:10:49 DEBUG : 4 go routines active
Not sure I have a 'big' library per se, but my refresh takes 1m 18s with the rc command about 15-20 minutes via a find, which is basically the same as a dir /s.
felix@gemini:/GD$ find . -type f | wc -l
40531
felix@gemini:/GD$ find . -type d | wc -l
4062
My library is rather large at 13k movies and 2400 shows. Add to that an nfo file for each one...
So, the RC refresh is super fast compared to a dir /s, which I used to do, but the Plex scan itself is not much faster. At least in the Movies library, but that's because I haven't had the time and patience to split everything. The slowdown in Windows Explorer starts at around 4-5k items within a single folder.
on s3 wasabi, i created 10 folders with 5000 files per folder.
total of 50,000 files.
i mount that set of folders.
vfs/refresh takes just 6 seconds.
but if i try to enter any folder, there is a 60+ second delay.
in effect, that refresh seems to be do nothing of use.
if i do a
dir /s
on just one folder, it takes 11 seconds.
but when i enter that folder, zero delay
@VBB Agreed from your statements however, having one folder, i.e. 'Movies' and all the movie folders within directory is so cool I love to view all my movies in one folder! Yes the downside is what your saying..