Re: [GAM] Command to extract hyperlinks from Google doc using GAM?

201 views
Skip to first unread message

Ross Scroggs

unread,
Dec 20, 2022, 1:12:17 PM12/20/22
to google-ap...@googlegroups.com
Chatgpt is wrong

gam user us...@domain.com show fileinfo <Put Doc ID here> exportlinks

Ross


On Tue, Dec 20, 2022 at 9:45 AM 'J' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:
Is there a command to extract all hyperlinks from Google documents? Chatgpt said there is a doclinks command but I couldn't find anything in the documentation about it..

gam print doclinks doc_id > links.txt

Replace doc_id with the ID of the Google Doc that you want to extract hyperlinks from. The gam print doclinks command will output a list of all hyperlinks in the specified Google Doc to the terminal.

--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/0d10b140-c657-4213-a410-d8de05f6aaf6n%40googlegroups.com.


--

Fadhli F

unread,
Jan 23, 2024, 9:00:19 PM1/23/24
to GAM for Google Workspace
Hi,

Are we able to update those hyperlinks as well?

Reply all
Reply to author
Forward
0 new messages