How to open .gddoc or .gdsheet from command line

I use a up to date Arch linux with Insync 1.5.7.

I would like to know how to open a google doc backed up in my google drive, eg

test_doc.gddoc

from the command line.

I have tried

insync open_in_gdrive test_doc.gddoc

but this has failed. I have done a fairly extensive search and come up with nothing.

What is the correct command?

( I suppose I could just parse the file with sed and grab the url & open it with chromium but this seems cumbersome)

SOLUTION: I got it. Have to pass the full path to the file then it works.

1 Like