glotlabs / gdrive

Google Drive CLI Client
MIT License
1.53k stars 91 forks source link

Account import format error #108

Closed EvandroMaddes closed 8 months ago

EvandroMaddes commented 8 months ago

First of all, thank you for the effort and commitment you put into this project :)

I'm trying to setup gdrive on my remote computer. I run gdrive account export <ACCOUNT_NAME> from my local computer and get the archive containing secret json file and tokens json file. So I tried to import the archive but I end up with an error :(.

$ sudo gdrive account import /mnt/gdrive_export-testaccountest_gmail_com.tar
/usr/bin/gdrive: 1: ELF: not found
/usr/bin/gdrive: 2: Syntax error: unexpected word (waiting for ")")

It seems like a problem with the file format but I don't know how to overcome this issue. Any suggestions?

EvandroMaddes commented 8 months ago

Solved by building source file