dbxcli icon indicating copy to clipboard operation
dbxcli copied to clipboard

Allow several profiles

Open Fil opened this issue 8 years ago • 3 comments

I tend to use multiple accounts on Dropbox and would like to be have something like a --profile=(email) option for dbxcli to chose the account.

Fil avatar Apr 09 '17 16:04 Fil

@Fil interesting; so you are actively using multiple, personal Dropbox accounts? I'd be curious to hear if this is a common use case. Doing what you are asking should be doable, but will likely require breaking changes to the configuration format. An easier solution might be to add an option to override the default configuration location -- that way you can simply point dbxcli to different directories containing credentials for different accounts. Would that work?

diwakergupta avatar May 24 '17 04:05 diwakergupta

I'm not actively using it (was doing tests). Yes multiple config dirs would certainly work.

Fil avatar May 24 '17 05:05 Fil

@diwakergupta Can you tell me where the config is located and ill write a script to change it out. A profile option would be nice but script is fine for me. I use, at least, my employer's enterprise dropbox and my personal one. I could imagine (but do not currently) having more than one personal or more than one enterprise (Im a consultant).

aberezin avatar Jan 16 '19 21:01 aberezin