Skip to content

Using without "cfg" #1

Open
Open

Description

@gauch

Hey,

Could you add a flag, when cfg = 'system' (or something), then flag "--config" would not be inserted into command?

I'm using rclone with its own config and rely on refresh tokens stored there.

Thanks

Activity

  1. ddragosd commented on Nov 9, 2020

    @ddragosd
    Owner

    @gauch I'm so sorry I missed the notification with the issue you opened.
    It makes sense what you're suggesting. I'm curios if you solved your problem differently in the meanwhile ? Is this still a priority ?

  2. dkolb commented on Dec 4, 2020

    @dkolb

    Working on this today and while I'd like to just let rclone find it's own configs I am working around it by manually reading in the file as follows:

    import rclone
    from os.path import expanduser
    
    with open(expanduser('~/.config/rclone/rclone.conf')) as config_file:
        config = config_file.read()
    
    rclone.with_config(config).listremotes()
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions