After living with agonizingly slow Plex scans for years now, I've decided to finally move all my individual movie folders into folders named # - Z.
My current structure is \Movies"name of movie (year)""name.of.movie.year.mkv". Trying to figure out the best/fastest way to move the "name of movie (year)" folders into the appropriate # - Z folders, one letter at a time. Doing this manually in Windows Explorer takes forever (roughly 15 seconds per folder). This is probably due to the extremely large size of the "Movies" folder, which contains almost 11,000 folders. Strangely enough, moving things into the "Movies" folder is much faster.
My mount command for read-write is simple: rclone mount --allow-other -v
Should I add anything to speed things up for this particular scenario? Or, should I try to accomplish this outside of a mount, via rclone move command? Will this be faster, and if so, what command should I use to move, for example, all folders starting with "a" to the folder called "A"?
You can do this with rclone move... Your source and your destination directories mustn't overlap otherwise rclone will complain.
Here is an example with the local filesystem - hopefully that will give you the idea!
$ tree unsorted/
unsorted/
āāā pie
āāā potato
0 directories, 2 files
$ tree sorted
sorted
0 directories, 0 files
$ rclone move -v --include "/p*" unsorted sorted/p
2019/09/10 22:11:37 INFO : Local file system at /tmp/sorted/p: Waiting for checks to finish
2019/09/10 22:11:37 INFO : Local file system at /tmp/sorted/p: Waiting for transfers to finish
2019/09/10 22:11:37 INFO : potato: Moved (server side)
2019/09/10 22:11:37 INFO : pie: Moved (server side)
2019/09/10 22:11:37 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 2 / 2, 100%
Transferred: 0 / 0, -
Elapsed time: 0s
$ tree unsorted/
unsorted/
0 directories, 0 files
$ tree sorted
sorted
āāā p
āāā pie
āāā potato
1 directory, 2 files
Oh, it's much easier to interact with, but like I wrote above, it's incredibly slow due to the amount of folders in the Movies folder. Takes about 15-20 seconds for one folder to move.
$ tree sorted unsorted
sorted
unsorted
āāā p_dir
ā āāā p_file
āāā p_dir2
āāā p_file2
2 directories, 2 files
$ rclone move -v --include "/p**" unsorted sorted/p
2019/09/10 22:55:33 INFO : p_dir2/p_file2: Moved (server side)
2019/09/10 22:55:33 INFO : p_dir/p_file: Moved (server side)
2019/09/10 22:55:33 INFO : Local file system at /tmp/sorted/p: Waiting for checks to finish
2019/09/10 22:55:33 INFO : Local file system at /tmp/sorted/p: Waiting for transfers to finish
2019/09/10 22:55:33 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 2 / 2, 100%
Transferred: 0 / 0, -
Elapsed time: 0s
$ tree sorted unsorted
sorted
āāā p
āāā p_dir
ā āāā p_file
āāā p_dir2
āāā p_file2
unsorted
āāā p_dir
āāā p_dir2
5 directories, 2 files
Remember google drive is case sensitive so you are selecting directories starting with lowercase q only. If you want both cases then use --include "/[qQ]**"