New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Combine
Remote
#5600
Comments
In the past a user requested to add such a mode in the Union backend - #4730 By the way, does your
|
I've had multiple requests for a drive backend which combines lots of different drives, eg all the available team drives, so a project like this could work for that. Maybe if it had a script interface so it could generate the directory structure from a tree. @ivandeex wrote
package main
import (
"fmt"
"github.com/rclone/rclone/fs"
)
func main() {
var x fs.CommaSepList
err := x.Set("backblaze: backblaze, gdrive_home: gdrive/home, gdrive_office: gdrive/office")
if err != nil {
fmt.Println(err)
return
}
fmt.Printf("x=%#v\n", x)
}
It parsed it, but it didn't strip the space |
Could you elaborate?
Would you mind if I add |
For example you could have script which used
Note that these use https://pkg.go.dev/encoding/csv to parse things so they have an escape mechanism for including commas and spaces. I guess an option to set |
https://forum.rclone.org/t/bulk-create-remotes-to-existing-google-shared-drives/26837/2 |
As far as team drives go I had this idea... It occurred to me that I could make an option for I had a go at exactly this v1.57.0-beta.5681.c135f93dd.fix-drive-drives on branch fix-drive-drives (uploaded in 15-30 mins) Use it like
And it will output an rclone config file configuring aliases for all your team drives. |
related to #4506 |
If it's not yet started, should I try implementing it? |
From #4506 (comment)
For anyone wondering how to use Thank you Nick. Can we somehow mount all remotes at once, mount every all remotes using one mount command? |
… - FIXME WIP Needs - docs - integration tests Fixes #5600
I have made a first attempt at a v1.59.0-beta.6081.b0c54538b.fix-5600-bind on branch fix-5600-bind (uploaded in 15-30 mins) You configure it like this
I've also added a little to With the -o config parameter it will output the list in a format
Adding this to the rclone config file will cause those team drives to |
|
… - FIXME WIP Needs - docs - integration tests Fixes #5600
Next test - with working changenotify hopefully. v1.59.0-beta.6171.7dcf7cf55.fix-5600-combine on branch fix-5600-combine (uploaded in 15-30 mins) |
v1.59.0-beta.6171.7dcf7cf55.fix-5600-combine Working, What commands can I use to get automatic updates?
|
If you run rclone mount the polling should work automatically |
Sorry i'm not clear I want to update the rclone fix-5600-combine version. automatically if there is a new version coming out. |
Looks like the update broke the CLI for the combine: |
Should be fixed here v1.59.0-beta.6174.9aa5ce515.fix-5600-combine on branch fix-5600-combine (uploaded in 15-30 mins) |
What is your current rclone version (output from
rclone version
)?rclone v1.53.3-DEV
What problem are you are trying to solve?
Managing multiple remotes.
I use a few google drive + backblaze remotes and it is not quite easy to work with all of them.
Most of the time I want to mount all of them in one particular directory, roughly as follows:
I've a script to handle mounting but I think it's better if rclone handles this internally.
How do you think rclone should be changed to solve that?
Rclone can handle all of the mountings as a new remote maybe
combine
orjoin
.So config can be something like:
Now I just have to manage a single mount.
As a start I think we should not support nested remotes. And also no remote specific configurations like seperate
--dir-cache-duration
. So all remotes will be leaf in structure and whatever mount config is used forcombine
will apply to all of the remotes.How to use GitHub
The text was updated successfully, but these errors were encountered: