How do I? get webviewlink after upload local file to google drive and convert mimetype

25 views
Skip to first unread message

KD-01

unread,
Sep 23, 2025, 9:40:10 PM (3 days ago) Sep 23
to GAM for Google Workspace
Hi,

How do I get the webviewlink after uploading a local file to Google Drive and convert the mimetype​ to a Google Sheet.
Is't possible to get webviewlink in one line commmand?

gam user us...@domain.com create drivefile localfile /path/to/file.csv parentid doc_ID mimetype gsheet

Ross Scroggs

unread,
Sep 23, 2025, 11:06:46 PM (3 days ago) Sep 23
to google-ap...@googlegroups.com
See: https://github.com/GAM-team/GAM/wiki/Users-Drive-Files-Manage#create-files

gam user us...@domain.com create drivefile localfile /path/to/file.csv parentid doc_ID mimetype gsheet returnlinkonly

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/3d5683f4-105b-49c0-a129-5ead8d4f39f4n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages