I want switch different Gdrive's account. How?
@prasmussen please step by step. this https://github.com/prasmussen/gdrive/issues/84 not answerd
Same issue here. #84 isn't clear at all.
Where is the default config file?
When I first ran the command it created a .gdrive directory in my home. I used gdrive -c ~/.gdrive2 about to go through the auth process for a second account.
I can now use gdrive about to get information about the first (default) account and gdrive -c ~/.gdrive2 about to get information about the second account.
Hope this helps.
rm -rf ~/.gdrive/token_*.json removes your first account, and then try to upload a file gdrive upload <filename> it will ask for verification code. I use this method to switch b/w accounts.
rm -rf ~/.gdrive/token_*.jsonremoves your first account, and then try to upload a filegdrive upload <filename>it will ask for verification code. I use this method to switch b/w accounts.
Thanks a lot!
Most helpful comment
rm -rf ~/.gdrive/token_*.jsonremoves your first account, and then try to upload a filegdrive upload <filename>it will ask for verification code. I use this method to switch b/w accounts.