Insync get_private_link (CLI) option to not turn on sharing

If I run insync get_private_link <filename> to get the link of something and then go to that item on google drive, I see that “link sharing is turned on” and the file is set to “anyone with this link can view”. This is the behavior I’d expect from get_public_link.

Side note, would be nice if relative paths worked with get_private_link

tagging our engineer @lpugoy

@archtoad: Link sharing is enabled so that people that the link was shared to can access it. If it was disabled then even if other people know the link they still can’t access the file.

The difference between private links and public links is that public links are searchable from the web. For private links sharees need to know the exact link to the file to access it.

Okay I understand. Then how about a get_personal_link command, or a flag option for get_private_link that returns the link without turning on sharing. I use the links of google drive documents to send myself reminders about certain documents/organize my drive and it would be great to do this in a scriptable way (without making the documents shared).

Changed to feature request because this is not a bug

@archtoad: Sure, I’ll add this to the list. No ETA though.