From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32683 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Gdoc to md Date: Mon, 22 May 2023 17:57:10 +0200 Message-ID: References: <8A9C0319-D2C4-4A77-B50E-02B2FCC050AD@edison.tech> <948f1dc9-3efb-4b0c-b6b8-d72b446999adn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000574bc305fc4a5375" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32955"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pandoc-discuss To: bpj Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBYFBV2RQMGQECEVI6WY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 22 17:57:24 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f188.google.com ([209.85.222.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q17uW-0008P3-5j for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 22 May 2023 17:57:24 +0200 Original-Received: by mail-qk1-f188.google.com with SMTP id af79cd13be357-75b012668d3sf281238585a.0 for ; Mon, 22 May 2023 08:57:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684771043; cv=pass; d=google.com; s=arc-20160816; b=aIAUlyg2FaoFK8LU9WEqxyEMizV2yq/36/Mcd+geyMo9sZtevfeMZbJP7itvcl3Lt6 rq+5EIAYdd5gTVU8Quhz8GdQeBiElvfip6dxphVzs+oKzKFiF8P+lkN0/5Ih3X/N6nMk 741lympVlq62raBIHZUdTqrcDtQjCFU2FTLZGFhm+has/nSfXN+oOTYvLKda/KqCz8AA lHptWABImcVnX6eXiDLdnLqUw/zTRu465fUC8KYuKrloGHVT7AqOzbz260EVGjEJ7aj8 JTl7vfuGpqba2E9hrPuzsA/SAnquPNMkDd4l8yt6IjBqaqOGXpwFG2/vkFmWeuuzhNaB Iccw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=47708xds0m7CPsRxSmbFmKlMfSLMVnO8+AgI917H0L4=; b=RdlhrF06VzVU6CrJwN+FYEvC2iD3ibjaKKERmjjkGlhkh4oPTji8rK+a8YoV6j4HON ojYC2qBW8VLo0eub8clQqKhUA4rjJGYy+AMT+IeWNPWWISHc7ciqDFjJEL1bR/2RKqhR 5z1d60ayoA07bpzr9ajHAkCjYUQ7xpSduFAVi5JbeM8SSmIHSBVl3g8qrZivcBcOCsIU U72+Vd4x3HSJKtfQr/l6qA5wZ14fEDUGDQtX3Ujf0sAQEBL8+UEPkszavPhqFX1up/fI PremAFCqSGkU1o/1XGznlx3xcp8v1WGnaWhLSgHDYmyCw82WEXcN+JoUOLN6QWzy/y2b s3+Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.128.180 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684771043; x=1687363043; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=47708xds0m7CPsRxSmbFmKlMfSLMVnO8+AgI917H0L4=; b=kR3Gau9O9PX1bwi3XdTycdw8M7rs8Oz3xhc9xVP+k/z0lfRdWD0J2kT6xZVjOuQiMO M4/3fQU8kxBF0nlVuwUHA1LV9ALEh/FOrB+IDpsRDteAP5/HHl07rLjmdZYml63YbU88 JxaX5P5Rq4Xml7x1edylgWRy53siBzzEPyU7TqDLftm50E22uXTVrv5iidbY7JUiEnWD YXPz12phnKjtPOPFpxyD4CHkuZDWDvx7E2zp6pM0ksRJqPmuMjWz1p1G9CCQdpG87MnF SpwypFfHQXLYALffJCcJDin2EBzocaovydxIb10N2T+dQbeFMCbYlRCJ2N4J1+StICec X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684771043; x=1687363043; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=47708xds0m7CPsRxSmbFmKlMfSLMVnO8+AgI917H0L4=; b=PsxTfk3YtNdJ0VqZh/UM/m+cWL2vgqEeC/1RYCxtubFfqMrzAOudmgvn0pyZxeZrju n2W1jSWNICDRuCY7KLJ3KLDJ+iRgeJTb6o8+MYX7ETWso+oB+h228+RoJIAvWvO1vGI/ gfYbR/TztTI2tkliNX1X4qBaol0m3A5XcVspIGyr9ah6P2dYQuHpOoELBa6U/7+0w8Ko xagqRbqNIgOw1Og9Pzbn8pRZtXLUKFP8l8T0aawnSeCCJjC98L9SaLvV4gALHB6lhjoe ntM Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDx29nlVwcUqwtut1JULeL0u7lg4SUx1kGB5dQX7eYxP1MM5+Nnl iObfyTvQ2oSzQVRwWlQctkI= X-Google-Smtp-Source: ACHHUZ6XZr57dLXshG2Bp+dz7YT415LPavufSUUs9ytCpNg2M3Ue256Mhdc16w3a+0gClssJCbPN3A== X-Received: by 2002:a05:620a:254d:b0:759:5ff7:aa52 with SMTP id s13-20020a05620a254d00b007595ff7aa52mr3611930qko.12.1684771043146; Mon, 22 May 2023 08:57:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ad4:4f33:0:b0:625:88ff:6dec with SMTP id fc19-20020ad44f33000000b0062588ff6decls1139431qvb.1.-pod-prod-03-us; Mon, 22 May 2023 08:57:20 -0700 (PDT) X-Received: by 2002:a05:6102:2745:b0:42f:e9be:5921 with SMTP id p5-20020a056102274500b0042fe9be5921mr2486227vsu.12.1684771040045; Mon, 22 May 2023 08:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684771040; cv=none; d=google.com; s=arc-20160816; b=fMjEs3o0yi03GJSI68p+vSszWb5/GwQbJGBsxWq4jjxZmAx2Tn0Hjce5iaCRLRhEr4 ++oCRcEK+kMI0ve7S/k1rMlrpODUa/wjklhThMa7RW2FGw6KTTMYAAZla05EM0MJt/R6 O3dS/ROYvBY1jTcW7WDQKd9HwFeeZEkDMqGO9kdLP6yZRrtpUN/UUUtVrl1phHrrfQTp I3IZ77GwyZC9J2eJKYEioK1jzyprk3de0g+z8qHobPyf/7waIFfEFrQc7WKETRfOuSkQ O4VCJzfvqTkhTfLhu/VoFZw56EqzQ5uD+fHNh12+8KI9R9y+2Bavv06s5pQkDWc5FJeO b5pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=23COinwKqpsGp+jijgVVgdNn6ZVBu5vq+l6cqszj/lg=; b=vHbjyFLh0WNz29oIhon/WhtL9LVDd81nd+P86pXdp4dtgXRgFOq9ZdY73fB3YTmKYF 9ySjWul6puQ6LdG/2GqzMajm6pMsJMFj8SA9dGFbiW+Y2Jebo3N/6fV2bIHNnj80tuoP 6U5UBKtaNcuV7LbHvxNDizD8DKbP6YnAPz1VFnGJ6zP64VGSbbjO72dGETiOthc7z+ma 8NPLhjdx/i4GGhYtpnKx1qGnIqYhZOhX++5ISYzW2FhckNWwHzpRV043DkB3WTYOMPCR 8l4bl0EKFr6LFp3IAO8GxqJw45NiRkjImdrKa8bGx08WyVdlm3weFRGTqE6KURZVO0tg 1Gvg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.128.180 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by gmr-mx.google.com with ESMTPS id s24-20020a056130021800b007836a48d143si606263uac.1.2023.05.22.08.57.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 May 2023 08:57:20 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.128.180 as permitted sender) client-ip=209.85.128.180; Original-Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-5617d793160so81289167b3.2 for ; Mon, 22 May 2023 08:57:20 -0700 (PDT) X-Received: by 2002:a81:6c85:0:b0:559:fb89:e2c4 with SMTP id h127-20020a816c85000000b00559fb89e2c4mr11409474ywc.22.1684771039561; Mon, 22 May 2023 08:57:19 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.128.180 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32683 Archived-At: --000000000000574bc305fc4a5375 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Also rclone fetches docs from drive as docx https://rclone.org/ Den m=C3=A5n 22 maj 2023 17:40BPJ skrev: > > https://www.computerworld.com/article/2835663/easily-convert-google-drive= -files-to-microsoft-office-in-one-big-batch.html > > Den m=C3=A5n 22 maj 2023 15:06Mark Pinsley skrev: > >> Thank you. >> >> Background: I have several hundred gdocs that I want to convert to >> markdown. I will then clean up the documents in markdown and convert fro= m >> md to HTML. >> >> What I have been trying to **avoid** is having to open all of the gdocs >> one by one and then have to save them as a docx one by one. I am trying = to >> get from gdoc -> markdown as easily as possible >> >> THX! >> >> On Mon, May 22, 2023 at 3:20=E2=80=AFAM ThomasH wrote= : >> >>> What do you want to batch process? The downloading or the translation >>> with pandoc? >>> >>> For batch translation you can use something like this: >>> >>> find -name "*.docx" -exec sh -c 'f=3D`printf "%q" \{}`; pando= c >>> --from docx --to md --output=3D/${f%.*}.md $f' \; -print >>> >>> On Sunday, May 21, 2023 at 4:47:25=E2=80=AFPM UTC+2 Mark Pinsley wrote: >>> >>>> Thank you. >>>> Is there someway to batch process this as there are a lot of files >>>> >>>> Thx >>>> Mark >>>> >>>> >>>> >>>> On May 21, 2023 at 3:35 AM, wrote: >>>> >>>> Just download them as DOCX (the gdoc download mechanism has an option >>>> for that) and convert those DOCX files. I do it "all the time" (I don'= t use >>>> gdoc myself but my collaborators do). Uploading DOCX to gdoc is also a >>>> breeze. >>>> >>>> Den fre 19 maj 2023 23:50Mark Pinsley skrev: >>>> >>>>> I have a whole bunch of google docs in a folder. Let say 20 files for >>>>> the time being, I have a lot more than that, but in one directory the= re are >>>>> twenty files. >>>>> >>>>> I want to convert all of these files from .gdoc to .md >>>>> >>>>> 1. I didn't see any way for pandoc to do this, is there a way? >>>>> 2. Is there a way to batch process this? I don't want to have to go >>>>> into every google doc and save as, and then convert >>>>> >>>>> Lastly, what tools are you using to collaborate in MD. are you puttin= g >>>>> things into github? If so are you using the Github editor or another >>>>> editor. I was using StackEdit, but it doesn't look like it is being >>>>> supported. >>>>> >>>>> Thanks >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "pandoc-discuss" group. >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/pandoc-discuss/b3abcff6-701d-4a64-b= 5b0-9faee1b2b1a4n%40googlegroups.com >>>>> >>>>> . >>>>> >>>> -- >>>> >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "pandoc-discuss" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/pandoc-discuss/B4Jq1uKSe0I/unsubscri= be >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhA7A1QLd5SMqkvx= s%2BNCCSxSap-NBVzG1-XW1wf8zjdxwg%40mail.gmail.com >>>> >>>> . >>>> >>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "pandoc-discuss" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/pandoc-discuss/B4Jq1uKSe0I/unsubscrib= e >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/pandoc-discuss/948f1dc9-3efb-4b0c-b6b= 8-d72b446999adn%40googlegroups.com >>> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/CAOtJyj6a2TLz9fUC%2Bf0R= cHXCy3a%3Dn%2BWaaE%3DzskP3_tsDnPrCLA%40mail.gmail.com >> >> . >> > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CADAJKhC4jVpHARoWWhuUSHbMzC%3Dzk%3DhnvkdS6%2BLy6ci6XhuykQ%40= mail.gmail.com. --000000000000574bc305fc4a5375 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Also rclone fetches docs from drive as docx


Den m=C3=A5n 22 maj 2023 17:40BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> skrev:

Den m=C3=A5n 22 maj 2023 15:06Mark Pinsley &l= t;= mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org> skrev:
Thank you.=C2=A0

Backgrou= nd: I have several hundred gdocs that I want to convert to markdown. I will= then clean up the documents in markdown and convert from md to HTML.=C2=A0=

What I have been trying to **avoid** is having to= open all of the gdocs one by one and then have to save them as a docx one = by=C2=A0one. I am trying to get from gdoc -> markdown=C2=A0 as easily as= possible

THX!

3D""
On Mon, May 22, 2023= at 3:20=E2=80=AFAM ThomasH <therch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
What do you w= ant to batch process? The downloading or the translation with pandoc?
=

For batch translation you can use something like this:<= /div>

find <subdir> -name "*.docx" -exec= sh -c 'f=3D`printf "%q" \{}`;=C2=A0 pandoc --from docx --to = md --output=3D<subdir>/${f%.*}.md $f' \; -print

On Sunday, May 21= , 2023 at 4:47:25=E2=80=AFPM UTC+2 Mark Pinsley wrote:
Thank you.=C2= =A0
Is there someway to batch process this as there are a lot of = files=C2=A0

Thx
Mark



On May 21, 2023 at 3:= 35 AM, <BPJ> wrote:
=
Just downl= oad them as DOCX (the gdoc download mechanism has an option for that) and c= onvert those DOCX files. I do it "all the time" (I don't use = gdoc myself but my collaborators do). Uploading DOCX to gdoc is also a bree= ze.

Den fre 19 maj 2023 23:50Mark Pinsley <ma...-NHpudssogepBDgjK7y7TUQ@public.gmane.org> skrev:
I have a whole bunch of google docs in a folde= r. Let say 20 files for the time being, I have a lot more than that, but in= one directory there are twenty files.

I want to convert= all of these files from .gdoc to .md

1. I didn= 9;t see any way for pandoc to do this, is there a way?
2. Is ther= e a way to batch process this? I don't want to have to go into every go= ogle doc and save as, and then convert

Lastly, wha= t tools are you using to collaborate in MD. are you putting things into git= hub? If so are you using the Github editor or another editor. I was using S= tackEdit, but it doesn't look like it is being supported.=C2=A0

Thanks

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discus.= ..@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/b3abcff6-701d-4a64-b5b0-9faee1b2b1a4n%40googlegroups.com= .

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-disc= uss/B4Jq1uKSe0I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.<= br> To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/CADAJKhA7A1QLd5SMqkvxs%2BNCCSxSap-NBVzG1-XW1wf8zjdxwg= %40mail.gmail.com.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/B4Jq1= uKSe0I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/9= 48f1dc9-3efb-4b0c-b6b8-d72b446999adn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@goo= glegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/CAOtJyj6a2TLz9fUC%2Bf0RcHXCy3a%3Dn%2BWaaE%3DzskP3_tsDnPr= CLA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://g= roups.google.com/d/msgid/pandoc-discuss/CADAJKhC4jVpHARoWWhuUSHbMzC%3Dzk%3D= hnvkdS6%2BLy6ci6XhuykQ%40mail.gmail.com.
--000000000000574bc305fc4a5375--