From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32678 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Pinsley Newsgroups: gmane.text.pandoc Subject: Re: Gdoc to md Date: Mon, 22 May 2023 09:05:11 -0400 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="00000000000075f75f05fc47eced" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17606"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC54T4OPXIARBFWRVWRQMGQE3O27FKA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 22 15:05:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f56.google.com ([209.85.221.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q15EB-0004PR-3a for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 22 May 2023 15:05:31 +0200 Original-Received: by mail-wr1-f56.google.com with SMTP id ffacd0b85a97d-3079c6648e3sf3494811f8f.2 for ; Mon, 22 May 2023 06:05:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684760730; cv=pass; d=google.com; s=arc-20160816; b=sDoVrPiHT2JnwcipHQSsrP55bEn0WlWKIqcKt+B0PJb5C8bnrfHNIqOeKN5yDVPP8S TD5Bq98MjFyqMvAfXEMw32BTJM+GMVM/hEwNxCDZzNtVBhP0DNSPpo+p0Ex6g6TpFeRV jKR5egSr/6fZeMNboWvDT4RUMw3UJwYpH+tuPP2EfkGFSDfCe4U6ncBLbnkLcgRI5O/Y cdbjWSgX3k0K7JIboItfSw3/OoNtTBpVBiQ58Dz+GMKR5ar33BZ6ZIJJtAX7F6I1fWVf LstrfkjazvwdEBL06bZ2HJT1ORqPrHQetGb1zogj5hUiRY41lgK7dA+fQyVdoDIIFcBG lFXg== 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:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=zJ7+n6RvDNmM9rvnEqA9QI/K+Wh7JrJFQqly5VkcxXk=; b=FLy6ESfaKt5ERxmBcG3eImCsDAuEChnaL+k7+2tm13ErICVLil8YjnP1MfxkXclRGR H+hpBCJpugJjP40wde1zo9R0rEBXodnvOIbyI9Eod4oq0BdtQMmmeTd4s2y9DD2n37E2 PBBUD19g00hTsE9luebsmpmmtLKBKkp12M/8XXpyulxtJxcfDq+CEf7aIlDgpvi6xi+T W31Zk6DbWj8W93wn5ska7hqAWegY7AwG6kh4zXeJ6brvqOmGpOep7/7m7RL+v3l9sp4A D6qzWLlWuS6+whWySPPMewaR9TnaoUcCRjLxBPwPVcQigfoIPkp/DJoHC/FKlZ/Fkq/b Q/ZA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@pinsley-com.20221208.gappssmtp.com header.s=20221208 header.b=hLjAxyh9; spf=neutral (google.com: 2a00:1450:4864:20::22e is neither permitted nor denied by best guess record for domain of mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org) smtp.mailfrom=mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684760730; x=1687352730; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=zJ7+n6RvDNmM9rvnEqA9QI/K+Wh7JrJFQqly5VkcxXk=; b=RFTQ6B/uxYt8eSOApzQqm729lhZCGkDLiVYiWMQswGU/KaNJTo5V6Pq1EShMzOP5kv OH2oWJX+IF9HJ5JQUq15elKfHv6jXpqCDJ7nc17J/xRoqAaEWQot2UQxzK/oE1LVYdLG zFKHErxdWNvQbKEyeyBoXRCresp/r+S3i2oFWIC9Xd3grzxS+H2vPS/fI4+LXM6zFheL jWML5I9bEjuNCxoFC2UK7hdyjzSbLI8QEP6qdyUUbjh8fB1qOb4xpQtP5fwBxMfNa5v6 KuNEN6DxNSVWyKT1QXJ+OHFiTWHFn73t9fPMFkSPyZ/qR0GFLgq7GfMvXh0kmECSJodo X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684760730; x=1687352730; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=zJ7+n6RvDNmM9rvnEqA9QI/K+Wh7JrJFQqly5VkcxXk=; b=Ih83fQif+LE7VuLQry6sSX7OyFN/B0lAo/6AcHjgmXUQSUdMqBZirC9Z0MRTVTmdu/ k2Penpa/3GGfDpOVDVpuCg2WUSM4ML/0z4ZuyXBkjoW3drndeyg3gcL/eh4xuqHLUsVS nqJhLJbwRrH69DJcSiHISMu8HK62/P7NRZ1JEw8pNwB9v6uUFgGcs835DYoAdDHOJvMz 1US4R9puPQPm9mokkPS7AWwmwrHw4I1VbIa87+h7KSgpS3c7bMqH/Vrkx7zgcm6in5HQ 2YDa2i Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxOkPk79QmpBNMiOqgpXLJLHaHaBNToxHh4FCJygLVQlJEf7TyS TYwy2RzwffnXylQw1eR7idk= X-Google-Smtp-Source: ACHHUZ46V6VDivsVTQHITE0lsPLabmG4KkbfAsZaZdptN8g8pTqxvaXN5gVpS8PjbYhsagEClIfHyw== X-Received: by 2002:adf:f98d:0:b0:309:2b6:5c7a with SMTP id f13-20020adff98d000000b0030902b65c7amr1725727wrr.6.1684760730146; Mon, 22 May 2023 06:05:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1d8a:b0:3f6:463:5d4f with SMTP id p10-20020a05600c1d8a00b003f604635d4fls728318wms.1.-pod-prod-01-eu; Mon, 22 May 2023 06:05:25 -0700 (PDT) X-Received: by 2002:a05:600c:24a:b0:3f5:ffe7:bf11 with SMTP id 10-20020a05600c024a00b003f5ffe7bf11mr3892214wmj.36.1684760725274; Mon, 22 May 2023 06:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684760725; cv=none; d=google.com; s=arc-20160816; b=mjkTAREoX+LfO+MTFQ/b3s0fgVNYy+X+G9KeZhJKTzwUa6xD6ixdXmwtJ42iROH62v NocXKx65sPGbdBJNOUf6LbGC0AqNdU+krRQKRZ3qGlSm2J12uiDCQJyS3OWXwNxXH3F2 J/3t8mDQNP4k82Y8gM25u6KdEdbyHBrhkrNmLR71fSssraR8qK6jaKAXo7TMwF5rnYUH ++w8oZglxa1QSXEbsAlH0X+HPxqLe73YlVJzgBdL9GWcoJpnZtRX91WfBdkhkR29dVFQ 18h+M94JRK19DViI26MonuKx1v6IWhoK7rGfyFO+5xkxsrGMXAeCLHBry9h5mcRpznrd 7PEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=EZeJ0q7xsTyBDr9M+tCyRC8FlxyBp2n6AgSnGLOaEMQ=; b=rcKY5ceUw4Xgw8NQQ9KpZor4PgFzW61uzxotF2EIAtNwYiVT9pEKJNFz0Ppfi9/dLF 1apI7tRExIwnWXRM4egXj7IJQO33KYvO/ILimKCdJmYUKPYANDt4EGme6pYCZmDBgVRp 84yZIW6VIRTwzg8UaOOIBuEqJV9LCXazNOpBV92rUCi+5d+hk/WDAgk7D+R+mah4Y4ej 6FA9uhnAsv/R6Uzk6shnFqHw9UgVmtHLYCA6msUnQTgCmHwHZ00FrxHPCZLXBm5BlGAg 1PqPs7X2jVMCRY9O6nazYTgTBD/ClDjeUOEOLkYSRRjZ1jkVj4i16cRVU+7OwA+kerow vI+w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@pinsley-com.20221208.gappssmtp.com header.s=20221208 header.b=hLjAxyh9; spf=neutral (google.com: 2a00:1450:4864:20::22e is neither permitted nor denied by best guess record for domain of mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org) smtp.mailfrom=mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org Original-Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com. [2a00:1450:4864:20::22e]) by gmr-mx.google.com with ESMTPS id az39-20020a05600c602700b003f60161f18asi349614wmb.2.2023.05.22.06.05.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 May 2023 06:05:25 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4864:20::22e is neither permitted nor denied by best guess record for domain of mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org) client-ip=2a00:1450:4864:20::22e; Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2af2451b3f1so41621271fa.2 for ; Mon, 22 May 2023 06:05:25 -0700 (PDT) X-Received: by 2002:a05:6512:908:b0:4ef:f11c:f5b0 with SMTP id e8-20020a056512090800b004eff11cf5b0mr3175136lft.54.1684760723576; Mon, 22 May 2023 06:05:23 -0700 (PDT) In-Reply-To: <948f1dc9-3efb-4b0c-b6b8-d72b446999adn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@pinsley-com.20221208.gappssmtp.com header.s=20221208 header.b=hLjAxyh9; spf=neutral (google.com: 2a00:1450:4864:20::22e is neither permitted nor denied by best guess record for domain of mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org) smtp.mailfrom=mark-NHpudssogepBDgjK7y7TUQ@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:32678 Archived-At: --00000000000075f75f05fc47eced Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 from 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 wit= h > pandoc? > > For batch translation you can use something like this: > > find -name "*.docx" -exec sh -c 'f=3D`printf "%q" \{}`; pandoc > --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 fo= r >> 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 there= 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 int= o >>> every google doc and save as, and then convert >>> >>> Lastly, what tools are you using to collaborate in MD. are you putting >>> 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, 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/b3abcff6-701d-4a64-b5b= 0-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/unsubscribe= . >> 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/CADAJKhA7A1QLd5SMqkvxs%= 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/unsubscribe. > 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-b6b8-= d72b446999adn%40googlegroups.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/CAOtJyj6a2TLz9fUC%2Bf0RcHXCy3a%3Dn%2BWaaE%3DzskP3_tsDnPrCLA%= 40mail.gmail.com. --00000000000075f75f05fc47eced Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you.=C2=A0

Backg= round: I have several hundred gdocs that I want to convert to markdown. I w= ill 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 o= ne 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 want to batch process? = The downloading or the translation with pandoc?

Fo= r batch translation you can use something like this:

find <subdir> -name "*.docx" -exec sh -c 'f=3D`print= f "%q" \{}`;=C2=A0 pandoc --from docx --to md --output=3D<subd= ir>/${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 download them as DOCX (the gdoc download mechanis= m has an option for that) and convert those DOCX files. I do it "all t= he time" (I don't use gdoc myself but my collaborators do). Upload= ing DOCX to gdoc is also a breeze.

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

I want t= o 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

La= stly, what tools are you using to collaborate in MD. are you putting things= into github? If so are you using the Github editor or another editor. I wa= s using StackEdit, 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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/b3a= bcff6-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-discuss/B4Jq1uKSe0I/unsubs= cribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
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://g= roups.google.com/d/topic/pandoc-discuss/B4Jq1uKSe0I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to p= andoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/948f1dc9-3efb-4b0c-b6b8-d72b446= 999adn%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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https:/= /groups.google.com/d/msgid/pandoc-discuss/CAOtJyj6a2TLz9fUC%2Bf0RcHXCy3a%3D= n%2BWaaE%3DzskP3_tsDnPrCLA%40mail.gmail.com.
--00000000000075f75f05fc47eced--